Translations - EncryptSL/LiteEco GitHub Wiki
LiteEco supports translations, allowing the plugin to be used in different languages.
Translations in LiteEco are built on Locales, and you can find a list of available locales here.
These locales represent different language codes supported by the plugin.
LiteEco welcomes community contributions to expand its language support.
If you wish to add a translation for a language not yet covered or make improvements, follow these simple steps:
-
Fork this repository to your GitHub account.
-
Create a new branch with a descriptive name for your translation work, such as
french-translation
-
Generate a translation file with the format
locale_key.yml
, using the appropriate locale code for the target language. -
Inside the translation file, make use of the placeholders provided in the original files, such as
<example_something>
. -
Ensure not to remove or modify the placeholders, as they are used for variable substitution during runtime.
-
Feel free to customize the colors or any other elements in the translation to match the language's conventions and style.
-
Once your translation is ready, add it to the locale folder in the plugin's repository.
-
After making your changes, make a New Pull Request to submit your contribution.