-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Translations
- Connected
pancake-frontend
repository. Used a personal token created in the pancakeswap-bot account. - Set the source file to
/src/config/localization/translations.json
and the output to/public/locales/[locale].json
Note The master translations file will always be the same as the English output en-US.json
. The Language Provider uses the master translation file because it lives in the src
directory and can be included in the bundle. This removes the need to fetch the English translations.
-
Developer adds a new translation to the master translation file
-
When the code gets merged into
develop
the Crowdin Integration will detect the change and add the new translation for each supported language. By default the translation will be in English (when saved in the repository). -
At a set interval (configurable in Crowdin settings) Crowdin will check if any new translations have been added. If they have, a new PR with the changes will be created with the changes. At the time of writing this it is set to sync once every hour.