Hi!
Is it possible to translate automatically the tycket type in the customer form depends of the language of the customer?
Incidencia --> Incident
Peticion de Servicio --> service request
Or in the different way --> Incident --> Incidencia (English to Spanish).
Should i put the translation in /opt/otrs/Kernel/Languages/es.pm
I could duplicate the types of tickets in tycket setting --> type but I think that it is not a good idea.
Thanks
Translate Ticket Type
Moderator: crythias
Translate Ticket Type
OTRS 5.0.8 with Oracle Linux Server release 7.1 with MariaDB database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: Translate Ticket Type
You must do it in file es_custom.pmGonzalo wrote:Hi!
Should i put the translation in /opt/otrs/Kernel/Languages/es.pm
See Admin and Development manual about it syntax because it not same as es.pm

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)
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)
Re: Translate Ticket Type
Hi yuri!
I didn't find any file called "es_custom.pm". should I create this file?
Thanks!
I didn't find any file called "es_custom.pm". should I create this file?
Thanks!
OTRS 5.0.8 with Oracle Linux Server release 7.1 with MariaDB database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: Translate Ticket Type
Yes! You must create this file and put it in the same folder where es.pm file.
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)
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)
Re: Translate Ticket Type
I follow Development manual and I found and edit the file:
I did a test for the word incident when you select ticket type but it doesn't work. Any idea?
Thanks in advance
Code: Select all
package Kernel::Language::es_Custom;
use strict;
use warnings;
use vars qw(@ISA $VERSION);
$VERSION = qw($Revision: 1.4 $) [1];
sub Data {
my $Self = shift;
# $$START$$
# own translations
$Self->{Translation}->{'Incident'} = 'Incidente';
# $$STOP$$
return 1;
}
1;
Thanks in advance
OTRS 5.0.8 with Oracle Linux Server release 7.1 with MariaDB database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database
---------------------------------------------------------
OTRS 3.3.6 on Centos 6.0 with MySQL database