Hello I’ve developed a custom app, and now I’m looking to translate to spanish, this are the steps I’m doing, following the officiald Documentation Instructions and also other official docs translation instructions.
Get the Untranslated strings, I have the app installed.
bench --site mysite.localhost get-untranslated es-CO ./es-CO-untrans.csvAlso get-untranslated did not work and show an error until I applied this PR changes to bench
Find the files
/sites, make a copy of it named
es-CO.csvchanging each line I want to translate from english to spanish. as:
my number my other number
mi numero mi otro numero
Update the translations
bench update-translations es-CO es-CO-untrans.csv es-CO.csv
Add my language to
/apps/language.txtalthought this seems uneccesary seems I’m not bootstrapping a new language.
Check if the translation were created in my custom app,
Check the content of the added translation.
b'DocType: Package',b'my number',b'mi numero' b'DocType: Package',b'my other number',b'mi otro numero'
Now I restart the bench, clear chache, set site to not cache at all, change my language, change it back, migrate the bench, update, etc. Nothing works, I still get the strings in english.
And It just doesn’t work. The only way I can get translations to work is by Using the GUI on
desk#List/Translation/List. Is also so not user friendly that
bench get-untranslated seems to be broken for a year an someone submitted a PR and issue, and both are ignored.
erpnext 12.10.1 frappe 12.8.1 # This is my application in which I'm testing package_management 0.0.1