You can follow these steps to support localization when developing new features
Introduction
- You can directly use the text configuration already available in
/resource/l10n/en-US.toml
to replace the text in the new feature. - If there is new text in the new feature, please refer to the configuration text in
en-US.toml
, pull the new text into the configuration files of other languages such asen-US.toml
, and add translations.
Adding a new localized text file
- Add a new language text configuration in
/resource/l10n/
. - Pull existing text configurations from other languages in the new language text configuration.
- Add translations for the new language text configuration.