forked from openedx/openedx-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Internationalization and localization
chrisndodge edited this page Aug 22, 2013
·
4 revisions
We are currently hosting all translations of Open edX framework on www.transifex.com. Please feel free to make translation contributions there.
In order to run your Open edX instance under a different spoken language:
-
Configure your ~/.transifexrc file:
[https://www.transifex.com] hostname = https://www.transifex.com username = user password = pass token =
Token is left blank. You have to have permissions for the project (edx-platform) AFAIK - https://www.transifex.com/projects/p/edx-platform/
- Add the language you want in conf/locale/config, for instance for the language es_419 (Spanish Latinamerican) it is going to be:
{ "locales" : ["en", "es_419"], "dummy-locale" : "fr" }
- Configure it in your lms/env/environment.py, for instance create one called dev_es.py with the following:
from .dev import *
LANGUAGES = ( ('es_419', 'Spanish'), ) TIME_ZONE = 'America/Guayaquil' LANGUAGE_CODE = 'es_419'
- Execute the following commands in your edx-platform directory with your edx-platform virtualenv, replacing it with the language you want.
$ tx pull -l es_419 $ rake i18n:generate
- When you launch your LMS instance you launch it with the environment:
$ rake lms[dev_es,0.0.0.0:8000]