Translations - EncryptSL/LiteEco GitHub Wiki


About Translations

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.

How to Contribute Translations

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:

  1. Fork this repository to your GitHub account.

  2. Create a new branch with a descriptive name for your translation work, such as french-translation

  3. Generate a translation file with the format locale_key.yml, using the appropriate locale code for the target language.

  4. Inside the translation file, make use of the placeholders provided in the original files, such as <example_something>.

  5. Ensure not to remove or modify the placeholders, as they are used for variable substitution during runtime.

  6. Feel free to customize the colors or any other elements in the translation to match the language's conventions and style.

  7. Once your translation is ready, add it to the locale folder in the plugin's repository.

  8. After making your changes, make a New Pull Request to submit your contribution.

⚠️ **GitHub.com Fallback** ⚠️