Skip to content

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors