change checkbox to local language [solved]
Moderator: crythias
change checkbox to local language [solved]
Hello, i have otrs 3.1.7 and in russian language and i have a checkbox on closing tickets and instead of displaying the value in russian it says either says checked or unchecked. i need to translate the checked or unchecked to russian so how do i do that? i searched the language files in kernel/language for "unchecked" but to no luck. is there any help for this or it can't be changed?
Last edited by Majed17 on 09 Jul 2012, 07:37, edited 1 time in total.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: change checkbox to local language
You can add a new file to Kernel/Languages: Name it ru_MissingTranslations.pm
This would be the content of the file then:
translations via Google Translate 
This would be the content of the file then:
Code: Select all
package Kernel::Language::ru_MissingTranslations;
use strict;
use utf8;
sub Data {
my $Self = shift;
my $Lang = $Self->{Translation};
$Lang->{unchecked} = 'бесконтрольный';
$Lang->{¢hecked} = 'проверено';
}
1;

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: change checkbox to local language
well thanks a lot it worked
but first i had to save the notepad as utf8 for the characters to appear correctly. as for the translations i chose 'Checked' as yes and 'Unchecked' as no.
