1 (edited by apmuthu 11/04/2015 08:35:07 pm)

Topic: faulty escape in empty.po

Line 6704 in lang/new_language_template/LC_MESSAGES/empty.po has a double backslash for escaping a line feed:

--- "old/lang/new_language_template/LC_MESSAGES/empty.po"
+++ "new/lang/new_language_template/LC_MESSAGES/empty.po"
@@ -6701,7 +6701,7 @@ msgid "Items"
 msgstr ""
 
 #: includes/ui/ui_controls.inc:604
-msgid "Entered data has not been saved yet.\\nDo you want to abandon changes?"
+msgid "Entered data has not been saved yet.\nDo you want to abandon changes?"
 msgstr ""
 
 #: includes/ui/ui_input.inc:632 reporting/includes/reports_classes.inc:222

The following language .po (and consequently their .mo files as well) files too have the error:
ar_EG
el_GR
es_CL
es_ES
es_NI
id_ID
ka_GE
nl_NL
pl_PL
pt_PT
ro_RO
ur_PK
zh_TW

2 (edited by apmuthu 11/05/2015 11:44:29 am)

Re: faulty escape in empty.po

This has now been committed to the unstable FA 2.4 repo but not as yet in the FA 2.3 stable repo. Hence in the FA v2.3 repo, it will not be translatable still.

This will also need to be followed with each language translation being affected in the official pkg repo.

3 (edited by apmuthu 11/08/2015 10:54:26 am)

Re: faulty escape in empty.po

All translation files in both the language extensions and in the core installer languages have been corrected in my repo for FA 2.3. This includes various language "Google Translations" that rendered "%s" as "% s" (an erroneous space between the 2 characters) wrongly as well.