Commit 9875b344 by clytwynec Committed by Christine Lytwynec

Update i18n.rst for rake to paver transition

parent 35efa6af
...@@ -217,18 +217,17 @@ the strings, or checking the translations into Github, see use cases). ...@@ -217,18 +217,17 @@ the strings, or checking the translations into Github, see use cases).
take a minute or two to complete:: take a minute or two to complete::
$ cd edx-platform $ cd edx-platform
$ rake assets $ paver i18n_extract
$ rake i18n:extract
2. Generate dummy strings: See coverage testing (below) for more details. This 2. Generate dummy strings: See coverage testing (below) for more details. This
will create an "Esperanto" translation that is actually over-accented will create an "Esperanto" translation that is actually over-accented
English. Use this to create fake translations:: English. Use this to create fake translations::
$ rake i18n:dummy $ paver i18n_dummy
3. Run the rake i18n:generate command to create machine-readable .mo files:: 3. Run the paver i18n_generate command to create machine-readable .mo files::
$ rake i18n:generate $ paver i18n_generate
4. Django should be ready to go. The next time you run Studio or LMS, append 4. Django should be ready to go. The next time you run Studio or LMS, append
``?preview-lang=eo`` to the URL to turn on Esperanto as a dark language. The ``?preview-lang=eo`` to the URL to turn on Esperanto as a dark language. The
...@@ -259,7 +258,7 @@ and correct specific gaps in compliance. ...@@ -259,7 +258,7 @@ and correct specific gaps in compliance.
Use the coverage tool to generate dummy files:: Use the coverage tool to generate dummy files::
$ rake i18n:dummy $ paver i18n_dummy
This will create new dummy translations in the Esperanto directory This will create new dummy translations in the Esperanto directory
(edx-platform/conf/local/eo/LC_MESSAGES). (edx-platform/conf/local/eo/LC_MESSAGES).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment