Edgewall Software
Modify

Opened 7 years ago

Last modified 4 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
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@… 7 years ago.
ptbr-trac-actions.PNG (4.6 KB ) - added by anonymous 7 years ago.

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by sajjad@…

Attachment: action_menu.png added

comment:1 Changed 7 years ago by Christian Boos

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

Related to #5441 (but not duplicate).

comment:2 Changed 7 years ago by cleo.sl@…

Cc: cleo.sl@… added

Changed 7 years ago by anonymous

Attachment: ptbr-trac-actions.PNG added

comment:3 Changed 7 years ago by cleo.sl@…

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 Changed 7 years ago by Oleg Frantsuzov <franoleg@…>

Cc: franoleg@… added

comment:5 Changed 6 years ago by guto.carlos@…

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

comment:6 Changed 5 years ago by dkg@…

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 Changed 5 years ago by Steffen Hoffmann

Cc: Steffen Hoffmann added

comment:8 Changed 5 years ago by Steffen Hoffmann

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

comment:9 Changed 4 years ago by Ryan J Ollos

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.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.