Re: Fixing a translation bug in Login page
Moritz Lenz <[email protected]> Tue, 31 Mar 2015 08:31:15 +0200
| Newsgroups | gmane.comp.otrs.devel |
|---|---|
| Message-ID | <[email protected]> |
On 29.03.2015 18:10, Úr Balázs wrote:
> Hi,
>
> I would like to fix a translation bug in the Login page, but I'm not a
> perl programmer, so I don't know the syntax.
>
> The problem is in Kernel/Output/HTML/Standard/Login.tt file at line 171:
> [% Translate("Welcome to %s", Config("ProductName")) | html %]
>
> This is not working, displaying "Welcome to OTRS 4" in Hungarian too.
> To display a correct Hungarian message ("Üdvözli az OTRS 4") I made
> this change:
> [% Translate("Welcome to") | html %] [% Config("ProductName") %]
>
> I know this is not the correct solution, but it works. How to fix it corretly?
The string %s is replaced by the product name, so couldn't you just use
the translation "Üdvözli az %s"?
Cheers,
Moritz
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
smime.p7s
(application/x-pkcs7-signature, 6.2 KB) - not displayed