Edgewall Software
Modify

Opened 9 years ago

Last modified 6 years ago

#9472 new enhancement

Workflow actions not translated

Reported by: sajjad@… Owned by:
Priority: normal Milestone: next-major-releases
Component: i18n Version: 0.12
Severity: minor Keywords: workflow action i18n
Cc: cleo.sl@…, franoleg@…, dkg@…, Steffen Hoffmann, Ryan J Ollos Branch:
Release Notes:
API Changes:

Description

I'm administering an installation of Trac 0.12, Python 2.5.4, with multi-lingual users.

Though most of Trac is translated correctly, the Action menu (under Modify Ticket) still lists the main options in English. This is true for all languages that I have tried, namely Japanese, Hebrew and German.

Attachments (2)

action_menu.png (28.5 KB ) - added by sajjad@… 9 years ago.
ptbr-trac-actions.PNG (4.6 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (11)

by sajjad@…, 9 years ago

Attachment: action_menu.png added

comment:1 by Christian Boos, 9 years ago

Keywords: i18n added; translation menu translation removed
Milestone: next-major-0.1X

Related to #5441 (but not duplicate).

comment:2 by cleo.sl@…, 9 years ago

Cc: cleo.sl@… added

by anonymous, 9 years ago

Attachment: ptbr-trac-actions.PNG added

comment:3 by cleo.sl@…, 9 years ago

I solved this (at least until this ticket is fixed) for pt_BR in my trac installation by editing my trac.ini under [ticket-workflow], by adding the attribute 'name' for all actions. Example:

[ticket-workflow]
accept = new,assigned,accepted,reopened -> accepted 
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
accept.name = aceitar
leave = * -> *
leave.default = 1
leave.name = manter
leave.operations = leave_status
reassign = new,assigned,accepted,reopened -> assigned
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reassign.name = atribuir
reopen = closed -> reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
reopen.name = reabrir
resolve = new,assigned,accepted,reopened -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY
resolve.name = encerrar

My new actions menu:

I guess it depends on your ticket workflow configuration, but works fine for me (I use the default workflow).

comment:4 by Oleg Frantsuzov <franoleg@…>, 9 years ago

Cc: franoleg@… added

comment:5 by guto.carlos@…, 8 years ago

Tem como alterar o nome do status? new ficar aberto por exemplo?

comment:6 by dkg@…, 7 years ago

Cc: dkg@… added

cleo.sl's "fix" isn't really a true internationalization, because it forces all users to use the pt_BR localizations. non-portuguese-speakers will be in the same situation as non-english speakers are in the default situation.

FWIW, we're running into this on a multilingual site as well, and would love to be able to get this fixed.

comment:7 by Steffen Hoffmann, 7 years ago

Cc: Steffen Hoffmann added

comment:8 by Steffen Hoffmann, 7 years ago

See TracDev/Proposals/ConfigEnumTranslation for a possible approach, become part of the discussion and hopefully a working solution too.

comment:9 by Ryan J Ollos, 6 years ago

Cc: Ryan J Ollos added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned. Next status will be 'new'.
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.