https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33766 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bibliothek@th-wildau.de --- Comment #55 from Jan Kissig <bibliothek@th-wildau.de> --- (In reply to Owen Leonard from comment #52)
Created attachment 168603 [details] [review] Bug 33766: (follow-up) Enable translation for strings
In my test the strings inside a SET directive were not picked up for translation. This patch adds the t() function around the new strings in order to allow them to be translated.
To test, apply the patch and test the translation process for any language, in this example fr-FR:
- Run 'perl translate update fr-FR' - Open misc/translator/po/fr-FR-messages.po - Look for the affected strings: "Username", "Cardnumber", and "Cardnumber or username." - Update the po file with translations of the strings - Run 'perl translate install fr-FR' - View the OPAC in your translated language and test each setting of OPACLoginLabelTextContent to confirm that the translated strings appear.
I am trying on ktd but I get stuck on
- Look for the affected strings: "Username", "Cardnumber", and "Cardnumber or username."
It is not found inside that file. Also checked for "Card umber or username." As I understand the specific string should be picked up automatically by calling "perl translate update fr-FR"? -- You are receiving this mail because: You are watching all bug changes.