Translation for Error Messages OTRS 2.4.9

Moderator: crythias

Locked
acordero
Znuny newbie
Posts: 2
Joined: 11 Jan 2012, 23:03
Znuny Version: 2.4.9
Real Name: Alvaro Cordero Retana
Company: Gridshield

Translation for Error Messages OTRS 2.4.9

Post by acordero »

Hello,

I am working with OTRS 2.4.9 and I've done few translations that were missing for the spanish language, but there are few error messages that are not translated and I haven't been able to make them to work using es.pm, es_ITSMCore.pm, es_ITSMTicket.pm.

The messages I am talking about are shown when the user tries to add a duplicate entry either for a Rol, Group.

The message shows as follow:

: Duplicate entry 'example-role' for key #, SQL: 'INSERT INTO roles (name, comments, valid_id, create_time, create_by, change_time, change_by) VALUES (?, ?, ?, current_timestamp, ?, current_timestamp, ?)'.

I added the following entry in the files es.pm and es_ITSMCore.pm

es_ITSMCore.pm: $Lang->{'Duplicate entry %s for key %s, SQL: %s'} = 'Entrada duplicada %s para la llave %s, SQL: %s';


Also when user tries to add a Service with the same name and parent.

Message is as follow:

Error: Can't add service! Service with same name and parent already exists.

I added an entry into es.pm and es_ITSMCore.pm like the following:

$Lang->{'Can\'t add service! Service with same name and parent already exists.'} = 'No se puede agregar el servicio! Un servicio con el mismo nombre y padre ya existe.';

Has anyone had the need for this translations either to spanish or any other language?

Thanks
Locked