-
Notifications
You must be signed in to change notification settings - Fork 69
Localization
Machinaris in v0.7+ supports internationalization (i18n) through the efforts of volunteers contributing their local translations to the application. The following locales are currently supported, though additional translations will be needed. Please contribute!
- en: English
- fr-FR: French -> Please help improve it!
- de-DE: German
- it-IT: Italian
- nl-NL: Dutch
- pt-PT: Portuguese
More locales are coming... please request yours. Top-priorities include:
- zh: Chinese
Each browser request sends an 'Accept-Language' weighted list of accepted languages. Machinaris will find the best match between the browser's requested language and the supported locales (above). The fallback default is en
(English). For those interested, Machinaris uses Flask-Babel for i18n.
First, check if your locale is listed above. If not, let me know in via an Issue, Discussion, or Discord. I'll generate a set of messages.po
files for your locale, which you can then translate. The translation files are found here:
Following the contribution guidelines, please fork the Machinaris repository, switch to the development
branch, then edit the messages.po
files for your locale.
If you want to test compile your changes, please optionally follow these steps. Finally commit the updated messages.po files and send me a Pull Request.
Machinaris uses Babel to support locale-dependent number and currency formatting.
There is only one true date format: ISO8601. Seriously though, this allows easy sorting in tables by date column.
CHIA NETWORK INC, CHIA™, the CHIA BLOCKCHAIN™, the CHIA PROTOCOL™, CHIALISP™ and the “leaf Logo” (including the leaf logo alone when it refers to or indicates Chia), are trademarks or registered trademarks of Chia Network, Inc., a Delaware corporation. There is no affiliation between the Machinaris project and the main Chia Network project.