Skip to content

edrlab/thorium-locales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

181 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

No packages published

Contributors 14