I can't change language in edx

1,291 views
Skip to first unread message

Tan Phat Trang

unread,
Jan 13, 2015, 9:35:39 PM1/13/15
to openedx-t...@googlegroups.com
Hi everyone, I build system edx in Ubuntu Server 12.04. Now i want to change language , but when i do follow :https://github.com/emanuelzh/openedx-language-fix/blob/master/README_EN.md . My website just change title and some page. However, When i change some text in mako.po or delete all file in /conf/vi , update asset and restart lms,cms , it don't still change anything ? 

Sarina Canelake

unread,
Jan 13, 2015, 9:43:30 PM1/13/15
to openedx-t...@googlegroups.com
Hi Tan,

I am unfamiliar with this fork, but the instructions we have are here: https://github.com/edx/edx-platform/wiki/Internationalization-and-localization

Changing the .po file won't change translations because you have to then compile down the .po file into .mo file. For this, you need to run the command:

paver i18n_generate

after you edit the .po files to generate the .mo files we use. We combine all the various .po files into just two .mo files: django.mo and djangojs.mo. The scripts we have that run under the generate command do a lot of magic to combine all the various resources from transifex into the two large resources.

On Tue, Jan 13, 2015 at 9:35 PM, Tan Phat Trang <phatt...@gmail.com> wrote:
Hi everyone, I build system edx in Ubuntu Server 12.04. Now i want to change language , but when i do follow :https://github.com/emanuelzh/openedx-language-fix/blob/master/README_EN.md . My website just change title and some page. However, When i change some text in mako.po or delete all file in /conf/vi , update asset and restart lms,cms , it don't still change anything ? 

--
You received this message because you are subscribed to the Google Groups "openedx-translation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-transla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tan Phat Trang

unread,
Jan 13, 2015, 10:16:39 PM1/13/15
to openedx-t...@googlegroups.com
So , I need to copy all content in mako.po into django.po , then i will generate file .po to .mo ? And I have a question , when i create file follow : Configure your ~/.transifexrc file:
and run command : paver i18n_robot_pull.I have error : Exception: No user credentials found for host https://www.transifex.com. Edit ~/.transifexrc and add the appropriate info in there. I use account in file transifexrc login to trasifex.com is normally ?

Vào 09:35:39 UTC+7 Thứ Tư, ngày 14 tháng 1 năm 2015, Tan Phat Trang đã viết:

Sarina Canelake

unread,
Jan 13, 2015, 10:25:27 PM1/13/15
to openedx-t...@googlegroups.com
You need to configure transifexrc file, as it explains here: https://github.com/edx/edx-platform/wiki/Internationalization-and-localization

You should specify with your Transifex account credentials. Double check that you are using the credentials normally.



--

Tan Phat Trang

unread,
Jan 13, 2015, 10:43:57 PM1/13/15
to openedx-t...@googlegroups.com
Yes I config with user and pass , I can login it in web with this user and pass .


Vào 09:35:39 UTC+7 Thứ Tư, ngày 14 tháng 1 năm 2015, Tan Phat Trang đã viết:
Hi everyone, I build system edx in Ubuntu Server 12.04. Now i want to change language , but when i do follow :https://github.com/emanuelzh/openedx-language-fix/blob/master/README_EN.md . My website just change title and some page. However, When i change some text in mako.po or delete all file in /conf/vi , update asset and restart lms,cms , it don't still change anything ? 

Sarina Canelake

unread,
Jan 14, 2015, 10:19:49 AM1/14/15
to openedx-t...@googlegroups.com
If you are still having problems with using Transifex, you should use Transifex help documentation and perhaps reach out to their support team.


--
Reply all
Reply to author
Forward
0 new messages