translation lang.pm != en.pm "dosn't work" for customer.pl (log panel)

Moderator: crythias

Post Reply
washide
Znuny newbie
Posts: 8
Joined: 17 Jan 2017, 15:22
Znuny Version: 4.0.16

translation lang.pm != en.pm "dosn't work" for customer.pl (log panel)

Post by washide »

Hello,
I'm testing otrs 5 and i found that my translation file /opt/otrs/Kernel/Language/pl.pm dosn't work before customer is loged to his dasboard.After login file pl.pm work i can see my language in panel.

What i can found that if i add some translation to file:

/opt/otrs/Kernel/Language/en.pm
$Self->{Translation} = {
'May_long' => 'May',
'Dog' => "Pies', <- i add this
};

that's work but it is cheat.


why i cant use my language pak: pl.pm to translate my country words via template toolk in CustomerLogin.tt ?

<b><h3>[% Translate("Dog") | html %]</a></h3></b>

In otrs 4 it was warking.
Post Reply