Internationalization allows users to translate text in the Quartz interface into various supported languages without needing to make extensive code changes. This can be changed via the locale [[configuration]] field in quartz.config.ts.
The locale field generally follows a certain format: {language}-{REGION}
{language} is usually a 2-letter lowercase language code.{REGION} is usually a 2-letter uppercase region code[!tip] Interested in contributing? We gladly welcome translation PRs! To contribute a translation, do the following things:
- In the
quartz/i18n/localesfolder, copy theen-US.tsfile.- Rename it to
{language}-{REGION}.tsso it matches a locale of the format shown above.- Fill in the translations!
- Add the entry under
TRANSLATIONSinquartz/i18n/index.ts.