[SOLVED] Services Translation

Moderator: crythias

Locked
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

[SOLVED] Services Translation

Post by ciotola »

Hi to all,

In my implementation I have 4 languages in use: Italian, Spanish, French and English
I would like to translate the content of the Service DropDown List. Is it possible?

Thanks in advance for your help
Last edited by ciotola on 09 Sep 2014, 10:17, edited 1 time in total.
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Services Translation

Post by crythias »

Not really.
You can provide multiple translations per line or you can provide translated services per customer.
If you get really fancy, you might be able to change the code for presentation (Layout.pm?) of lists to include translations of the select options via the Language API, which of course means you'll need to provide custom translation per language for the default strings.

Edit: OptionRef has a Translation option already
Where you see Services called in Modules, you may wish to verify.

Code: Select all

        $Param{ServiceStrg} = $Self->{LayoutObject}->BuildSelection(
            Data         => \%Services,
            Name         => 'ServiceID',
            SelectedID   => $Param{ServiceID},
            PossibleNone => 1,
            TreeView     => $TreeView,
            Sort         => 'TreeView',
            Translation  => 0, #This says, don't translate. Change it to 1 and make translation lists.
            Max          => 200,
        );
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

[SOLVED]Re: Services Translation

Post by ciotola »

Perfect !
Changed to '1' and works fine.

Thanks for the Help.
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
Locked