How to translate strings which starts with _:

Gabor Kelemen kelemeng at gnome.hu
Thu Nov 2 08:08:35 GMT 2006


Andre Noel írta:
> Hello...
>
> I've been told that when translating a string like the one below:
>
> _: %1 adds the reason
> You have left this server (%1).
>
> Only the second line must be translated.
>
> Is there any documentation about it?
>
> Thanks.
>
>   
http://l10n.kde.org/docs/translation-howto/gui-peculiarities.html

Shortly:

'Some PO files contain so-called "context information" to let 
translators know whether, for instance, "home" means the user directory, 
a key on the keyboard or the beginning of a line. Such context 
information always begins with the letter combination "_:". The 
important thing is: /These strings must not show up in the translations. 
/In other words: Do /not/ translate or copy this stuff into the "msgstr" 
part of the PO file. If you do, your whole file will not work anymore.'

Regards

Gabor Kelemen





More information about the rosetta-users mailing list