Code

#20497 closed Bug (wontfix)

i18n context markers for trans and blocktrans is not explained

Reported by: chameleon_red_one@… Owned by: nobody
Component: Translations Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I found this "Contextual markers are also supported by the trans and blocktrans template tags." in documentation https://docs.djangoproject.com/en/dev/topics/i18n/translation/ but it is not explained as described - please update documentation. Give one example of usage.

Attachments (0)

Change History (6)

comment:1 Changed 11 months ago by bmispelon

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Hi,

Contextual marker usage is explained (along with examples) in each tags's respective documentation which you can access by following the links.

I don't see the advantage in duplicating the information in this paragraph, so I'm marking this ticket as invalid.

Feel free to reopen if you disagree.

Thanks for your report.

comment:2 follow-up: Changed 11 months ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to new
  • Type changed from Uncategorized to Bug

It is not explained at all for blocktrans and trans - give me citation where is done since you not checked anything and talk like you will be know but know nothing.

comment:3 Changed 11 months ago by anonymous

  • Version changed from 1.4 to 1.5

I found finnaly some citation but it not visible - need to be add some header like it done for python to make it more visible or full syntax should be shown at start:)
{% blocktrans %} also supports contextual markers using the context keyword:

comment:4 Changed 11 months ago by anonymous

  • Version changed from 1.5 to master

comment:5 Changed 11 months ago by anonymous

Make such header like in python to help people find it in tag section.

'Contextual markers'

comment:6 in reply to: ↑ 2 Changed 11 months ago by aaugustin

  • Resolution set to wontfix
  • Status changed from new to closed

Replying to anonymous:

you not checked anything and talk like you will be know but know nothing.


Hey anonymous -- Baptiste has been a triager for a long time here and he's doing excellent work. He's trying to help.

I'm positive that he didn't answer without checking and that he knows a lot better than you on this topic.

I'm closing this ticket because your behavior isn't acceptable. Please remember you're talking to humans next time if you expect an answer.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.