Forums

I can't compile translations on the pythonanywhere servers

I'm using django 3 in python3.6. I have already made some translations for some words. It completely work on my local system and everything translates well, but translations does not work on the pythonanywhere server. I searched for my issue and got that I have to install gettext package on the server to let django translate well, but I can't even install any package on the server! Either it does not show any error, does not the translations!

Did you ever solve this? I am looking to implement this on my PA site, but am hesitant to do so if it isn't supported.

python-gettext is listed on the "Batteries Included" page, but I'm not sure if it relies in the GNU package that Django requires.

https://www.pythonanywhere.com/batteries_included/

You should be able compile translations on PythonAnywhere.