You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error from 'gettext.py' while running bin/local_test.py:
IOError: [Errno 2] No translation file found for domain: 'squeeze-alexa'
I'm using LOCALE = 'en_US' in 'settings.py' because I've configured my Alexa Skill to English (us) in AWS. But also tried 'en_GB' without success.
My 'locale' directory contains only one file:
ls locale/en_GB/LC_MESSAGES/
squeeze-alexa.po
Any help is welcome.
The text was updated successfully, but these errors were encountered:
Hi. I guess you're using latest from Git master. That's recently been internationalised, and I guess I haven't finished all the documentation / scripting that results in this. If you'd prefer, try the 1.1 release version which predates all this.
That message means gettext can't find compiled translations (.mo files) for your locale and 'domain', here squeeze-alexa).
To fix it you can run the script included:
bin/compile-translations
for which you'll need gettext tools installed on your OS if you haven't got it (e.g. sudo apt install gettext on Ubuntu)
If you want to "translate" squeeze-alexa to en_US then that's a bit harder, but I've added scripting to help with this too. And there is some documentation for that... under the translation section
Edit: no, I think I'm wrong, and it defaults to en_US anyway. Will check. Try plain en before bothering to do the above, but the documentation there should still be helpful
I'm getting the following error from 'gettext.py' while running bin/local_test.py:
I'm using LOCALE = 'en_US' in 'settings.py' because I've configured my Alexa Skill to English (us) in AWS. But also tried 'en_GB' without success.
My 'locale' directory contains only one file:
Any help is welcome.
The text was updated successfully, but these errors were encountered: