Hello,
Is there a way to translate the message of a case like that :
if ( !$Self->{TicketID} ) {
return $Self->{LayoutObject}->ErrorScreen(
Message => 'No TicketID is given!',
Comment => 'Please contact the admin.',
);
}
I tried to put the sentense "No TicketID is given!" in the language file, but it is not translated.
How can I translate it?
Another case :
Example :
if ( !$Self->{$Needed} ) {
$Self->{LayoutObject}->FatalError( Message => "Got no $Needed!" );
}
It is possible to translate "Got no $Needed!" ?
Thanks
Few case to translate in French
Re: Few case to translate in French
please read doc.otrs.org/developer/3.0/en/html/contributing.html
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 18
- Joined: 20 Jan 2012, 20:52
- Znuny Version: 3.0.2
- Real Name: Evans Bernier
- Company: Solutions Libergia inc.
- Location: Victoriaville, Quebec, Canada
- Contact:
Re: Few case to translate in French
I looked in doc, but nothing about that. We really need to translate error message. How can we do that?
Can we modify the system to translate this kind of message?
Thanks
Can we modify the system to translate this kind of message?
Thanks
Re: Few case to translate in French
error messages are not run through translating code. As this is a hard error all systems will display english messages, also webserver etc.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com