Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
line 30

Co-authored-by: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com>
  • Loading branch information
Amr-Nash and brian-smith-tcril authored May 23, 2024
1 parent 92224ed commit 241665e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To get the latest translations for all languages use the following command:
```bash
make pull_translations
```
This command runs [`atlas pull`](https://github.com/openedx/openedx-atlas) that downloads the latest translations file from the [openedx/openedx-translations](https://github.com/openedx/openedx-translations) repository which contains the latest translations for all languages. By that each language's translation is saved as a single file e.g. `I18N/I18N/uk.lproj/Localization.strings` ([example](https://github.com/openedx/openedx-translations/blob/6448167e9695a921f003ff6bd8f40f006a2d6743/translations/openedx-app-ios/I18N/I18N/uk.lproj/Localizable.strings)). Then the translation file is split into the App's modules e.g. `Discovery/Discovery/uk.lproj/Localization.strings`.
This command runs [`atlas pull`](https://github.com/openedx/openedx-atlas) to download the latest translations files from the [openedx/openedx-translations](https://github.com/openedx/openedx-translations) repository. These files contain the latest translations for all languages. In the [openedx/openedx-translations](https://github.com/openedx/openedx-translations) repository each language's translations are saved as a single file e.g. `I18N/I18N/uk.lproj/Localization.strings` ([example](https://github.com/openedx/openedx-translations/blob/6448167e9695a921f003ff6bd8f40f006a2d6743/translations/openedx-app-ios/I18N/I18N/uk.lproj/Localizable.strings)). After these are pulled, each language's translation file is split into the App's modules e.g. `Discovery/Discovery/uk.lproj/Localization.strings`.

After this command is run the application can load the translations by changing the device (or the emulator) language in the settings.

Expand Down

0 comments on commit 241665e

Please sign in to comment.