Supported Locales

Each locale includes a ISO 639-1 language code and an optional ISO 3166-1 country code to specify language and regional settings.

Locales affect the language of messages, prompts, and number formatting in rsql. You can set your preferred locale using the .locale command or by specifying the locale option in your rsql.toml configuration file. If not set, rsql will attempt to detect your system locale, defaulting to en (US English) if detection fails.

Contributing Translations

Most translations are machine-generated and may be imperfect. To contribute improvements or add a new locale:

  1. Fork the rsql repository.
  2. Add or update the relevant translation files in the locales/ directory.
  3. Submit a pull request with your changes.
  4. For guidance, see the project's contribution guidelines.

Troubleshooting Locale Issues

  • If you see untranslated or garbled text, ensure your locale is supported and correctly set.
  • If your locale is not listed, contribute a translation as described above.
  • Some output (such as database errors) may not be localized if not supported by the driver.

Available Locales

LocaleDescription
arArabic
beBelarusian
bgBulgarian
bnBengali
csCzech
daDanish
deGerman
elGreek
en-GBEnglish (United Kingdom)
esSpanish
etEstonian
fiFinnish
frFrench
gaIrish
heHebrew
hiHindi
hrCroatian
huHungarian
isIcelandic
itItalian
jaJapanese
jvJavanese
kaGeorgian
koKorean
ltLithuanian
lvLatvian
mkMacedonian
msMalay
mtMaltese
nlDutch
noNorwegian
plPolish
ptPortuguese
roRomanian
ruRussian
skSlovak
slSlovenian
sqAlbanian
srSerbian
svSwedish
thThai
trTurkish
ukUkrainian
viVietnamese
yiYiddish
zhChinese