Edgewall Software
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)

Change History (1)

comment:1 by Ryan J Ollos, 14 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.