Re: [rt-users] translate custom lifecycle

2014-03-27 Thread Kevin Falcone
On Wed, Mar 26, 2014 at 07:34:45PM +0100, Albert Shih wrote:
 new/open/on_hold is in english when I choose english in the interface. But
 it's in french/german/etc. when I choose french/german/etc. in the interface.
 
 How can I do the same for my own Lifecycle ? 

You'll want to look at the po files that ship with RT, which contain
translations.  If you had a local/po/fr.po with

msgid New Status
msgstr Statut Nouveau

RT would translate statuses.

There's more infrastructure needed to tag and extract automatically
(which is what we're doing) but for a fixed and known lifecycle, you
could just manually create .po files.

-kevin


pgplsk5mt5_I5.pgp
Description: PGP signature
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training

[rt-users] translate custom lifecycle

2014-03-26 Thread Albert Shih
Hi everybody.

I see the « standard lifecycle » has all status translated.

How can I do that with my custom lifecycle ? 

Thanks.

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
mer 26 mar 2014 17:03:09 CET
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] translate custom lifecycle

2014-03-26 Thread Justin Killen
You have to add transitions into RT_SiteConfig from/to each of your states, 
like this:


Set ( %Lifecycles, test = {
initial = ['new'],
active = ['open', 'on_hold', 'waiting'],
...snip...
transitions = {
new = [ 'open', 'on_hold', 'waiting'],
open = [ 'new', 'on_hold', 'waiting'],
on_hold = [ 'new', 'waiting', 'open'],
waiting = [ 'new', 'open', 'on_hold'],
},

...snip


-Justin

 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
 boun...@lists.bestpractical.com] On Behalf Of Albert Shih
 Sent: Wednesday, March 26, 2014 9:04 AM
 To: rt-users@lists.bestpractical.com
 Subject: [rt-users] translate custom lifecycle
 
 Hi everybody.
 
 I see the « standard lifecycle » has all status translated.
 
 How can I do that with my custom lifecycle ?
 
 Thanks.
 
 Regards.
 
 JAS
 --
 Albert SHIH
 DIO bâtiment 15
 Observatoire de Paris
 5 Place Jules Janssen
 92195 Meudon Cedex
 France
 Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
 xmpp: j...@obspm.fr
 Heure local/Local time:
 mer 26 mar 2014 17:03:09 CET
 --
 RT Training - Dallas May 20-21
 http://bestpractical.com/training
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] translate custom lifecycle

2014-03-26 Thread Albert Shih
 Le 26/03/2014 à 11:12:10-0700, Justin Killen a écrit
 You have to add transitions into RT_SiteConfig from/to each of your states, 
 like this:
 
 
 Set ( %Lifecycles, test = {
   initial = ['new'],
   active = ['open', 'on_hold', 'waiting'],
   ...snip...
   transitions = {
   new = [ 'open', 'on_hold', 'waiting'],
   open = [ 'new', 'on_hold', 'waiting'],
   on_hold = [ 'new', 'waiting', 'open'],
   waiting = [ 'new', 'open', 'on_hold'],
   },
 
   ...snip

Sorry...my question isn't very clear

new/open/on_hold is in english when I choose english in the interface. But
it's in french/german/etc. when I choose french/german/etc. in the interface.

How can I do the same for my own Lifecycle ? 

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
mer 26 mar 2014 19:32:41 CET
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training