Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to compile translations?

I you have finished translating the content of your .po file all you need to do is to compile the messages into machine-readable binary form. Run:

python manage.py compilemessages

If all goes well - your translation is ready for use, otherwise - fix any errors in the .po file and rerun the command.

Finally, if you have not done it yet - adjust the value of LANGUAGE_CODE variable to 'ru' in the case above.

How to compile translations?

I If you have finished translating the content of your .po file - all you need to do is to compile the messages into machine-readable binary form. Run:

python manage.py compilemessages

If all goes well - your translation is ready for use, otherwise - fix any errors in the .po file and rerun the command.

Finally, if you have not done it yet - adjust the value of LANGUAGE_CODE variable to 'ru' in the case above.

How to compile translations?

If you have finished translating the content of your .po file - all you need to do is to compile the messages into machine-readable binary form. Run:

cd askbot
python manage.py ../manage.py compilemessages

If all goes well - your translation is ready for use, otherwise - fix any errors in the .po file and rerun the command.

Finally, if you have not done it yet - adjust the value of LANGUAGE_CODE variable to 'ru' in the case above.