How to change language in menu

633 views
Skip to first unread message

ely

unread,
Oct 1, 2015, 10:18:24 AM10/1/15
to openedx-translation
Hi All,
  I have an open edX platform that will host several courses in several languages.

How can I change the language of the menu of one course? Not the language of the whole platform. Just the menu of one specific course.

Thanks in Advance,
Best Regards,
Ely

Sarina Canelake

unread,
Oct 1, 2015, 10:34:21 AM10/1/15
to openedx-t...@googlegroups.com
Hi Ely,

That's not a capability the platform has, nor is it one on our roadmap. The user defines their language preference, and that's the language they see the platform in. The course content can be in another language, but for ease of navigation they see all the platform strings in their preferred language.

For example, on Facebook some of my friends are from Israel, and others live in Mexico. I speak some Hebrew and Spanish. When I see their posts, their posts are in Hebrew or Spanish, and I respond in Hebrew or Spanish. However, on Facebook I set my preferred language to English, so when I click the posting button, it says "Post" in English, even if I'm responding to a post in Spanish. See here how the content (comments) are in Hebrew, but the interactions (post sticker, Like, timestamps, etc) are still in English, my preferred language:




We follow the same model in Open edX.

Best,
Sarina

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-translation/6e7ae19d-b34f-4896-b51e-92faf5b1a476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ely

unread,
Oct 1, 2015, 10:55:11 AM10/1/15
to openedx-translation
Dear Sarina,
  thank you so much for your quick reply! 

Going to my profile, in Account settings I read near the Language drop-down:

The language used throughout this site. This site is currently available in a limited number of languages.

..Adn I can see only "English" into the drop-down. I guess I need to download & install some localization package for the platform. So could you please tell me the url with the instructions for downloading and installing such packages?

Btw I run an old Birch release and plan to update to Cypress - but now I need to have the Birch one working first.

Thank you again,
KR,
Ely


On Thursday, 1 October 2015 16:34:21 UTC+2, Sarina Canelake wrote:
Hi Ely,

That's not a capability the platform has, nor is it one on our roadmap. The user defines their language preference, and that's the language they see the platform in. The course content can be in another language, but for ease of navigation they see all the platform strings in their preferred language.

For example, on Facebook some of my friends are from Israel, and others live in Mexico. I speak some Hebrew and Spanish. When I see their posts, their posts are in Hebrew or Spanish, and I respond in Hebrew or Spanish. However, on Facebook I set my preferred language to English, so when I click the posting button, it says "Post" in English, even if I'm responding to a post in Spanish. See here how the content (comments) are in Hebrew, but the interactions (post sticker, Like, timestamps, etc) are still in English, my preferred language:




We follow the same model in Open edX.

Best,
Sarina
On Thu, Oct 1, 2015 at 10:18 AM, ely <ely...@gmail.com> wrote:
Hi All,
  I have an open edX platform that will host several courses in several languages.

How can I change the language of the menu of one course? Not the language of the whole platform. Just the menu of one specific course.

Thanks in Advance,
Best Regards,
Ely

--
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-translation+unsub...@googlegroups.com.

Sarina Canelake

unread,
Oct 1, 2015, 11:05:02 AM10/1/15
to openedx-t...@googlegroups.com
Hi Ely,

You can find the answer by looking through previous posts on this mailing list. I'll link you to the wiki here, but be sure you're checking the archives to get your questions answered.


To unsubscribe from this group and stop receiving emails from it, send an email to openedx-transla...@googlegroups.com.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-translation/e3e331ca-0d6e-4d19-bb99-e02973ea5639%40googlegroups.com.

Vendo Cartoni

unread,
Oct 5, 2015, 10:30:16 AM10/5/15
to openedx-translation
edxapp@elsubu01:~/edx-platform$ paver lms -s dev_es -p 8000
---> pavelib.servers.lms
---> pavelib.prereqs.install_prereqs
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=dev_es preprocess_assets
Traceback (most recent call last):
  File "manage.py", line 90, in <module>
    startup = importlib.import_module(edx_args.startup)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/edx/app/edxapp/edx-platform/lms/startup.py", line 8, in <module>
    settings.INSTALLED_APPS  # pylint: disable=W0104
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/ut                                                                                        ils/functional.py", line 184, in inner
    self._setup()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/co                                                                                        nf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/co                                                                                        nf/__init__.py", line 95, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s"                                                                                         % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'lms.envs.dev_es' (Is it on sys.path?): N                                                                                        o module named dev_es


Captured Task Output:
---------------------

---> pavelib.servers.lms
---> pavelib.prereqs.install_prereqs
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=dev_es preprocess_assets

Build failed running pavelib.servers.lms: Subprocess return code: 1

Hi, if I follow this document https://github.com/edx/edx-platform/wiki/Internationalization-and-localization I get this errors

edxapp@elsubu01:~/edx-platform$ paver i18n_robot_pull
---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
Pulling languages from transifex...
Exception: No user credentials found for host https://www.transifex.com. Edit ~/.transifexrc and add the appropriate info in there.
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/bin/i18n_tool", line 9, in <module>
    load_entry_point('i18n-tools==0.1', 'console_scripts', 'i18n_tool')()
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/main.py", line 38, in main
    return module.main()
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/__init__.py", line 36, in __call__
    self.run(args)
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/transifex.py", line 107, in run
    pull()
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/transifex.py", line 21, in pull
    execute('tx pull --mode=reviewed --all')
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/execute.py", line 21, in execute
    sp.check_call(command, cwd=working_directory, stderr=stderr, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'tx pull --mode=reviewed --all' returned non-zero exit status 1


Captured Task Output:
---------------------

---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull

Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 1

Sarina Canelake

unread,
Oct 5, 2015, 11:23:45 AM10/5/15
to openedx-t...@googlegroups.com
hi Vendo,

Please start a new email thread. Your post has nothing to do with the existing email thread. Start a new thread, with an appropriate subject title indicating what you're having trouble with. Before posting, search through the archives to see if your question is already answered. https://groups.google.com/forum/#!forum/openedx-translation


--
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.
Reply all
Reply to author
Forward
0 new messages