I have tried a couple of times with different approaches but is stonewalled.
I have made a rough translation through google translate but the import results in a terrible mess.
Ubuntu 14.04.2LTS - Ubuntu base-server with LXDE - clean install. Locale da_DK-UTF-8 (corresponding keyboard).
Get frappe untranslated
bench frappe --get_untranslated da-dk ~/en-dk.txt
Update frappe translation
bench frappe --update_translations da-dk ~/en-dk.txt ~/da-dk.txt
The problem boils down to:
- the exportfile has an empty line as the last line.
- the google-translate-file has an empty line at the beginning and none at the end.
Adjusting the resulting translation to match to match the original as per lines makes no difference for the update_translations result.
The translated strings is thrown in something that looks like random, since the imported text is never the same.
Doing a rough side by side comparison in texteditor it shows the translated lines does match the corresponding untranslated as per linenumber.
I have not checked this in VBoxVM build but I have noticed that the locale used in the VM is en-IN.
Just a thought as writing this - could it a possible locale-configuration be the issue? I think not but nevertheless - the thought is passed on.
This is a huge bump - do you, by any chance, have a clue?
The translations is available per request.