Questa è una vecchia versione del documento!
Problem: I have a session in few days, and my language's localization is not complete. I have already contributed new strings, but too late for them being included in time in a new release.
Solution: it is easy to provide additional localization strings in Django. Just follow these steps:
LANGwith your language code (e.g.
django.po) in the desired language to that folder. If your language is not supported, download another one.
.mofile (this can be done from inside poedit with
Compile to MO), saved in the same folder.
settings.py, add a line with the following content:
LOCALE_PATHS = ['locale']
That's it! The strings will be shown next time you start oTree - including in Heroku (remember to
git add and
git commit the