Skip to content

edrlab/thorium-locales

Repository files navigation

🌍 Shared locales between Thorium products

We're gradually moving to shared locales between Thorium products, which includes:

This repository is meant to host these locales, made available to our translators through Weblate.

Best Practices

A document listing best practices for translators and developers can be found in guides.

Formatting

All JSON locale files are formatted using Prettier with alphabetically sorted keys. This ensures consistent formatting and reduces merge conflicts.

Setup

npm install

Commands

Command Description
npm run format Format all JSON files
npm run format:check Check if files are properly formatted (used in CI)

Formatting Rules

  • Keys are sorted alphabetically
  • 4-space indentation

Note

The CI will fail if JSON files are not properly formatted. Run npm run format before committing.

About

🌍 Shared locales between Thorium products

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors