mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-05-23 10:21:29 +08:00
709 B
709 B
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.tomlto 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.