Skip to main content
Version: 3.22

Setting up instance location

Using the orbit locale command you can define the settings for location, server time zone and internal browser language.

caution

The language settings of the web interface and proxy systems are changed through user preferences and through dedicated commands from the proxy systems.

:::WARNING IMPORTANT Restart the server after executing the command to apply the new language to the database system. :::

To reboot the server, use the –reboot argument together with the orbit shutdown command.

mt4adm@vmdf-giskard:~$ sudo orbit shutdown --reboot
The server system will shut down. Are you sure you want to proceed: y
Stopping database service...
mt4adm@vmdf-giskard:~$ sudo orbit locale --help
Usage: orbit locale

Language and locale settings

Flags:
--help Show context-sensitive help.

--timezone=STRING Timezone string
--force Force the command execution, never prompt
--show

To list the active configuration, use the –show argument.

mt4adm@vmdf-giskard:~$ sudo orbit locale --show
Timezone
Timezone is 'America/Sao_Paulo'

To set the language of the internal browser, use the argument –browser-locale

mt4adm@vmdf-giskard:~$  sudo orbit locale --browser-locale en-gb

See the following table for valid language codes for this configuration:

achAcoliafAfrikaansallAll packages for Firefox ESR (meta)
anAragonesearArabicastAsturian
azAzerbaijanibeBelarusianbgBulgarian
bnBengalibrBretonbsBosnian
caCatalanca-valenciaCatalan (Valencia)cakKaqchikel
csCzechcyWelshdaDanish
deGermandsbLower Sorbianen-caEnglish (Canada)
en-gbEnglish (United Kingdom)eoEsperantoes-arSpanish (Argentina)
es-clSpanish (Chile)es-esSpanish (Spain)es-mxSpanish (Mexico)
etEstonianeuBasquefaPersian
ffFulahfiFinnishfrFrench
fy-nlWestern Frisian (Netherlands)ga-ieIrish (Ireland)gdScottish Gaelic
gdEstonianglGaliciangnGuarani
gu-inGuzerate (Índia)heHebrewhi-inHindi (India)
hrCroatianhsbUpper SorbianhuHungarian
hy-amArmenian (Armenia)iaInterlinguaidIndonesian
isIcelandicitItalianjaJapanese
kaGeorgiankabKabylekkKazakh
kmCentral KhmerknKannadakoKorean
lijLigurianlijLigurianltLithuanian
lvLatvianmkMacedonianmrMarathi
msMalaymyBurmesenb-noNorwegian Bokm?l (Noruega)
ne-npNepali (Nepal)nlDutchnn-noNorwegian Nynorsk (Noruega)
ocOccitanpa-inPanjabi (Índia)plPolish
pt-brPortuguese (Brasil)pt-ptPortuguese (Portugal)rmRomansh
roRomanianruRussiansiSinhala
skSlovakslSloveniansonSonghais
sqAlbaniansrSerbiansv-seSwedish (Suécia)
taTamilteTeluguthThai
tlTagalogtrTurkishtrsChicahuaxtla Triqui
ukUkrainianurUrduuzUzbek
viVietnamesexhXhosazh-cnChinese (China)
zh-twChinese (Taiwan)elModern GreeksriBrahmic
DevanagariDevanagari ExtendedVedic Extensions
Latin Extended-ALatin Extended-B

To set up a new location you must first be aware of the possibilities. The available locations are in the directory /usr/share/zoneinfo.

mt4adm@vmdf-giskard:~$ sudo orbit locale --timezone=Europe/Paris
Are you sure you want to proceed: y
Done!
No errors reported

Restarting the database service. Please wait...
Are you sure you want to proceed: y
Done!
No errors reported