How to Translate

Hi,
I am very new to Open Edx and Tutor. I set the languages to Vietnamese (vi) and English.
The Vietnamese translations are there but a lot of them are untranslated or a lot of translations are incorrect.
I have read many instructions mentioning the .po files and the locale folders, however, there are none in my installtion.

I tried this method to instal i18n Tools to extract the .po files, however when I used “i18n_tool extract”. I got this error.


Traceback (most recent call last):
File “/root/tutor/venv/bin/i18n_tool”, line 8, in
sys.exit(main())
^^^^^^
File “/root/tutor/venv/lib/python3.12/site-packages/i18n/main.py”, line 60, in main
return module.main()
^^^^^^^^^^^^^
File “/root/tutor/venv/lib/python3.12/site-packages/i18n/init.py”, line 43, in call
self.configuration = config.Configuration(filename=args.config, root_dir=root_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/root/tutor/venv/lib/python3.12/site-packages/i18n/config.py”, line 36, in init
self._config = self.read_config(self._filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/root/tutor/venv/lib/python3.12/site-packages/i18n/config.py”, line 61, in read_config
raise Exception(f"Configuration file cannot be found: {filename}") # pylint: disable=broad-exception-raised
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Configuration file cannot be found: /root/conf/locale/config.yaml

Is there any step I missed ?

Sorry, I am totally new and most instructions I found started from the middle of shomewhere, I don’t really know where to start. I really appreciate if you can direct me to a beginner guide to translation.

Thank you so much and Happy New Year !

Hi @Binh_Ho_Thai the repositories in general no longer have translations inside.
They are downloaded from GitHub - openedx/openedx-translations: Open edX Translation files in sync with Transifex using GitHub - openedx/openedx-atlas: An Open edX CLI tool for moving translation files from openedx-translations. Tutor will do it automatically when you are building the docker images.

1 Like

Dear @IvoBranco , thank you very much for your instruction.
I installed the openedx-atlas. However, I don’t know what to do next. Could you please provide some instructions of what to do after the installation ?

1 Like