Modify ↓
Opened 20 months ago
Last modified 14 months ago
#13587 new defect
trans directive is not working with non-"messages" domain on plugin's templates
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-stable-1.6.x |
Component: | i18n | Version: | 1.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I'm trying to show translated messages on plugin's templates with the trans
directive. The extract_messages
command successfully extracts the messages but the directive doesn't translate the messages.
Also, it is not possible to specify domain parameters in the trans
directive, as in the i18n:domain
in the Genshi template.
As a workaround, in the plugin's templates, is to use ${ dgettext(domain, "...") }
instead of the directive.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Milestone renamed