change the language of edx

558 views
Skip to first unread message

mojtaba kamyabi

unread,
Jun 18, 2014, 4:38:50 PM6/18/14
to edx-...@googlegroups.com
Hi. I read other topics for change the language of edx. but I don't understand how?
what is the easiest way to change the language of the edx(English) to other languages? (like spanish)
(I already change it a bit but whole site language doesn't changed only login button changed)

Ned Batchelder

unread,
Jun 18, 2014, 4:44:20 PM6/18/14
to edx-...@googlegroups.com
We can help, but it will be easier if you tell us what you did already.  What directions did you follow?  If you simply want the site to always appear in Spanish, it should be a simple process of changing a setting in a Python file.

--Ned.

mojtaba kamyabi

unread,
Jun 18, 2014, 4:56:12 PM6/18/14
to edx-...@googlegroups.com
thanks for your quick response.
I already followed this step 3 in this link => here
Configure LANGUAGE_CODE in your lms/envs/common.py
but not whole site language changed ( only some sections changed for example : login button OR register form fields)
you say that if I want to change the site language always appear in spanish I must to change a setting in a python file where is it ? and what must I do ?

Ovnicraft

unread,
Jun 18, 2014, 5:01:24 PM6/18/14
to edx-...@googlegroups.com
On Wed, Jun 18, 2014 at 3:44 PM, Ned Batchelder <n...@edx.org> wrote:
We can help, but it will be easier if you tell us what you did already.  What directions did you follow?  If you simply want the site to always appear in Spanish, it should be a simple process of changing a setting in a Python file.
About this Ned, in my recently dev-machine i deploy with LANGUAGE_CODE =  'es-419' and time_zone 'America/Guayaquil' but i did pull lang from transifex, (in my machine that's working i pulled).

Any hint do i forgot ?

--Ned.


On Wed, Jun 18, 2014 at 4:38 PM, mojtaba kamyabi <mojtab...@gmail.com> wrote:
Hi. I read other topics for change the language of edx. but I don't understand how?
what is the easiest way to change the language of the edx(English) to other languages? (like spanish)
(I already change it a bit but whole site language doesn't changed only login button changed)

Ovnicraft

unread,
Jun 18, 2014, 5:46:08 PM6/18/14
to edx-...@googlegroups.com
On Wed, Jun 18, 2014 at 4:00 PM, Ovnicraft <ovni...@gmail.com> wrote:



On Wed, Jun 18, 2014 at 3:44 PM, Ned Batchelder <n...@edx.org> wrote:
We can help, but it will be easier if you tell us what you did already.  What directions did you follow?  If you simply want the site to always appear in Spanish, it should be a simple process of changing a setting in a Python file.
About this Ned, in my recently dev-machine i deploy with LANGUAGE_CODE =  'es-419' and time_zone 'America/Guayaquil' but i did pull lang from transifex, (in my machine that's working i pulled).


In fact pulling as wiki mention rake i18n:robot:pull gives me and error: https://gist.github.com/ovnicraft/d55b3afcacfd54140228 


Any hint do i forgot ?

--Ned.


On Wed, Jun 18, 2014 at 4:38 PM, mojtaba kamyabi <mojtab...@gmail.com> wrote:
Hi. I read other topics for change the language of edx. but I don't understand how?
what is the easiest way to change the language of the edx(English) to other languages? (like spanish)
(I already change it a bit but whole site language doesn't changed only login button changed)




--

Sarina Canelake

unread,
Jun 19, 2014, 12:12:20 AM6/19/14
to edx-code
Based on the log you linked to, it looks like the error is No such file or directory: u'/edx/app/edxapp/log/edx.log'. Have you tried making sure that the directory exists? Try running:

$ sudo mkdir -p /edx/app/edxapp/log

and then run the command again. Does that fix the problem?

Leonardo Salom

unread,
Jun 19, 2014, 6:14:10 AM6/19/14
to edx-...@googlegroups.com
You can aswell go to the django admin (youredxserverurl/admin) and set the Dark Lang Config, we use (es-es,en,ca@valencia), after that the users will be able to select the language of the platform in their profile. Or just set 1 language as default.

om...@noderabbit.com

unread,
May 24, 2018, 8:44:58 PM5/24/18
to General Open edX discussion
It seems that this thread comes first at Google search. If you're looking to have a default language (other than English) while still allowing to fallback to English, this app might help:

Reply all
Reply to author
Forward
0 new messages