Skip to content

Commit

Permalink
fix: fixup previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Mar 27, 2024
1 parent 144922a commit 51ab0e8
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions docs/0002-atlas-translations-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,29 @@ split back the translated files into the modules after pulling from the `openedx

The `OEP-58`_ workflow will proceed as follows:

- The `openedx-translations repository`_ runs a daily cronjob to collect strings from the `openedx-app-ios`_
``main`` branch.
- The `extract-translation-source-files.yml`_ workflow will clone the `openedx-app-ios`_.
- The `extract-translation-source-files.yml`_ workflow will run the `openedx-app-ios`_'s ``make combine_translations``.
- The ``make combine_translations`` combines English ``Localizable.strings`` files from the mobile app modules into
a single ``I18N/I18N/en.lproj/Localizable.strings`` file.
- The ``I18N/I18N/en.lproj/Localizable.strings`` is committed in the `openedx-translations repository`_
- The `GitHub Transifex app`_ will fetch the updated English source ``.strings`` files from `openedx-translations repository`_
- Translators can translate the strings in the `Transifex openedx-translations project`_
- The `GitHub Transifex app`_ syncs the translated strings into the `openedx-translations repository`_
- Developers run ``make pull_translations`` to pull the translations from the `openedx-translations repository`_
- The ``make pull_translations`` run `atlas pull`_ command pulls the translations
- The translation will be pulled in a single file for each language e.g. ``I18N/I18N/ar.lproj/Localizable.strings``
- Then ``make pull_translations`` will run ``python scripts/split_translation_files.py`` script to split
the translations into the modules e.g. ``Course/Course/ar.lproj/Localizable.strings``
* The `openedx-translations repository`_ runs a daily cronjob to collect strings from the `openedx-app-ios`_ ``main`` branch.

* The `extract-translation-source-files.yml`_ workflow will clone the `openedx-app-ios`_.

* The `extract-translation-source-files.yml`_ workflow will run the `openedx-app-ios`_'s ``make combine_translations``.

* The ``make combine_translations`` combines English ``Localizable.strings`` files from the mobile app modules into a single ``I18N/I18N/en.lproj/Localizable.strings`` file.

* The ``I18N/I18N/en.lproj/Localizable.strings`` is committed in the `openedx-translations repository`_.

* The `GitHub Transifex app`_ will fetch the updated English source ``.strings`` files from `openedx-translations repository`_

* Translators can translate the strings in the `Transifex openedx-translations project`_

* The `GitHub Transifex app`_ syncs the translated strings into the `openedx-translations repository`_

* Developers run ``make pull_translations`` to pull the translations from the `openedx-translations repository`_

* The ``make pull_translations`` run `atlas pull`_ command pulls the translations

* The translation will be pulled in a single file for each language e.g. ``I18N/I18N/ar.lproj/Localizable.strings``

* Then ``make pull_translations`` will run ``python scripts/split_translation_files.py`` script to split the translations into the modules e.g. ``Course/Course/ar.lproj/Localizable.strings``

Notable changes
===============
Expand Down

0 comments on commit 51ab0e8

Please sign in to comment.