Change translation file

Moderator: crythias

Post Reply
nandozzi
Znuny newbie
Posts: 37
Joined: 07 Apr 2011, 09:40
Znuny Version: 2.4.5

Change translation file

Post by nandozzi »

Hi all,
i want to change default translation into my OTRS 3.0.
I have seen that if i use OTRS in english i get a good translation, but if i choose my language i don't understand any words.
Can you help me?
Thanks

P.S. I don't want to create a custom language file, but modify the original to do changes for the future upgrade...
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Change translation file

Post by yuri0001 »

nandozzi wrote:P.S. I don't want to create a custom language file, but modify the original to do changes for the future upgrade...
Creating xx_Custom.pm file you just protect yourself in future updates.
In addition, as I found out for translation of terms for ITSM modules necessary to create files xx_ITSM*_Custom.pm files.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
nandozzi
Znuny newbie
Posts: 37
Joined: 07 Apr 2011, 09:40
Znuny Version: 2.4.5

Re: Change translation file

Post by nandozzi »

Yes, but i want to change the default language cause nobody use english interface. So can you tell me what's the file where i find the translation of all words from english to others languages?
Thanks in advance
nandozzi
Znuny newbie
Posts: 37
Joined: 07 Apr 2011, 09:40
Znuny Version: 2.4.5

Re: Change translation file

Post by nandozzi »

Ok, i have found the language files, but as you have written, i want to use a Custom file. I have to name it as xx_Custom.pm or i have to change the "xx" prefix with my language initials?
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Change translation file

Post by yuri0001 »

If xx.pm file for your language exists, you must create xx_Custom.pm file to add there untranslated terms. If not, then unfortunately I do not know the right answer. :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
nandozzi
Znuny newbie
Posts: 37
Joined: 07 Apr 2011, 09:40
Znuny Version: 2.4.5

Re: Change translation file

Post by nandozzi »

It's ok but how i have to name this Custom file? And i have to configure anything in the System Config to use this Custom in addiction to the standard for my language?
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Change translation file

Post by yuri0001 »

nandozzi wrote:It's ok but how i have to name this Custom file? And i have to configure anything in the System Config to use this Custom in addiction to the standard for my language?
1. xx(your language)_Custom.pm for OTRS and xx_ITSM*(ITSM module name)_Custom.pm (such as ru_ITSMConfigItem.pm) for ITSM.
2. For ITSM ConfigItem definition, need "translation=>1" attribute for each term you need to translate.

It's my experience. Who knows better? :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Post Reply