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
afAfrikaans
amAmharic
arArabic
azAzerbaijani
beBelarusian
bgBulgarian
bnBengali
bsBosnian
caCatalan
csCzech
cyWelsh
daDanish
deGerman
elGreek
enEnglish
en-GBEnglish (United Kingdom)
eoEsperanto
esSpanish
etEstonian
euBasque
faPersian
fiFinnish
frFrench
fyWestern Frisian
gaIrish
gdScottish Gaelic
glGalician
guGujarati
haHausa
heHebrew
hiHindi
hrCroatian
htHaitian Creole
huHungarian
hyArmenian
idIndonesian
igIgbo
isIcelandic
itItalian
jaJapanese
jvJavanese
kaGeorgian
kkKazakh
kmKhmer
knKannada
koKorean
kuKurdish
kyKyrgyz
laLatin
lbLuxembourgish
loLao
ltLithuanian
lvLatvian
mgMalagasy
miMaori
mkMacedonian
mlMalayalam
mnMongolian
mrMarathi
msMalay
mtMaltese
myBurmese
neNepali
nlDutch
noNorwegian
nyNyanja
orOdia
paPunjabi
plPolish
psPashto
ptPortuguese
roRomanian
ruRussian
rwKinyarwanda
sdSindhi
siSinhala
skSlovak
slSlovenian
smSamoan
snShona
soSomali
sqAlbanian
srSerbian
stSouthern Sotho
suSundanese
svSwedish
swSwahili
taTamil
teTelugu
tgTajik
thThai
tkTurkmen
tlTagalog
trTurkish
ttTatar
ugUyghur
ukUkrainian
urUrdu
uzUzbek
viVietnamese
xhXhosa
yiYiddish
yoYoruba
zhChinese
zuZulu