LogoLogo
MainsailMainsailOSCrowsnest
  • Welcome to Mainsail
  • Setup
    • Installation
      • MainsailOS
      • KIAUH
      • Docker
      • Manual setup
      • my.mainsail.xyz
    • Updates
      • Update Manager
      • Manual Update
    • Configuration
  • overview
    • Features
      • Bed Mesh
      • Console
      • Dashboard Organisation
      • Exclude Objects
      • Hide macros, outputs or fans
      • Localization
      • Macro Management
      • Macro Prompts
      • Presets
      • Print History and Statistics
      • Query devices
      • Built-in Themes
      • Custom Themes
        • Prepare
        • Backgrounds
        • Logos and Icons
        • Custom Navigation
        • Custom CSS
        • Community Themes
      • Thumbnails
      • Webcam
    • Settings
      • General
      • Console
      • Control
      • Dashboard
      • Editor
      • G-Code Viewer
      • Macros
      • Presets
      • Printers
      • UI-Settings
      • Webcams
    • Slicer
      • Cura
      • Ideamaker
      • PrusaSlicer
      • SuperSlicer
    • Quicktips
      • Slicer upload
      • Remote Access
      • Printer power switch
      • Additional Sensors
      • Disable Octoprint LCD menu
      • config.json
  • FAQ
    • Mainsail
    • Klipper warnings
      • Deprecated Values
      • Deprecated Options
      • Runtime Warning
    • Moonraker warnings
      • PolicyKit Permissions
    • Klipper errors
      • MCU Protocol error
    • Mainsail errors
      • Unauthorized
    • Getting Help
      • Discord
      • GitHub Discussions
  • About
    • Data Privacy
    • Sponsors
    • Development
      • Code standards
      • Contribute
      • Environment
      • Localization
    • Credits
  • 🔗Links
    • Github
    • Release Notes
    • Discord
    • Youtube
Powered by GitBook
On this page
  • How to contribute
  • Translate via Webtool - Weblate
  • Testing

Was this helpful?

Edit on GitHub
  1. About
  2. Development

Localization

PreviousEnvironmentNextCredits

Last updated 10 months ago

Was this helpful?

Mainsail uses 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: , )

  2. Create/Update translations using and .

If you have a finished translation file, you can make a on Github or create an 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.

Current translation state

Testing

Test your translations live

Check the translation with vue-i18n-extract

npm install           # only once and if you updated/installed packages
npm run i18n-extract  # starting i18n-extract to check all translation files

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

Mainsail comes with the dependency, with this tool, you can check your translation for missing or unused entries.

this guide
vue-i18n-extract
vue-i18n
BabelEdit
i18N-Manager
VSCode
i18n Ally
PR (pull request)
issue
Click here to go to Weblate.