githubEdit

Localization

Mainsail uses vue-i18narrow-up-right for its localization. All Locales can be found in the /src/locales directory in JSON format.

How to contribute

You can contribute in a couple of different ways:

  1. Create/Update translations using an i18n translation tool. (For Example: BabelEditarrow-up-right, i18N-Managerarrow-up-right)

  2. Create/Update translations using VSCodearrow-up-right and i18n Allyarrow-up-right.

If you have a finished translation file, you can make a PR (pull request)arrow-up-right on Github or create an issuearrow-up-right on Github and attach the translation.

Translate via Webtool - Weblate

Weblate is a web based translation tool with tight version control integration. It features a simple and clean user interface, propagation of translations across components, quality checks and automatic linking to source files. Click here to go to Weblate.arrow-up-right

Current translation state

Testing

Test your translations live

You can follow this guide to start Mainsail in a “Debug Mode” and check your translation live.

Check the translation with vue-i18n-extract

Mainsail comes with the vue-i18n-extractarrow-up-right dependency, with this tool, you can check your translation for missing or unused entries.

Last updated

Was this helpful?