Setting up instance location
Using the orbit locale
command you can define the settings for location, server time zone and internal browser language.
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:
ach | Acoli | af | Afrikaans | all | All packages for Firefox ESR (meta) |
an | Aragonese | ar | Arabic | ast | Asturian |
az | Azerbaijani | be | Belarusian | bg | Bulgarian |
bn | Bengali | br | Breton | bs | Bosnian |
ca | Catalan | ca-valencia | Catalan (Valencia) | cak | Kaqchikel |
cs | Czech | cy | Welsh | da | Danish |
de | German | dsb | Lower Sorbian | en-ca | English (Canada) |
en-gb | English (United Kingdom) | eo | Esperanto | es-ar | Spanish (Argentina) |
es-cl | Spanish (Chile) | es-es | Spanish (Spain) | es-mx | Spanish (Mexico) |
et | Estonian | eu | Basque | fa | Persian |
ff | Fulah | fi | Finnish | fr | French |
fy-nl | Western Frisian (Netherlands) | ga-ie | Irish (Ireland) | gd | Scottish Gaelic |
gd | Estonian | gl | Galician | gn | Guarani |
gu-in | Guzerate (Índia) | he | Hebrew | hi-in | Hindi (India) |
hr | Croatian | hsb | Upper Sorbian | hu | Hungarian |
hy-am | Armenian (Armenia) | ia | Interlingua | id | Indonesian |
is | Icelandic | it | Italian | ja | Japanese |
ka | Georgian | kab | Kabyle | kk | Kazakh |
km | Central Khmer | kn | Kannada | ko | Korean |
lij | Ligurian | lij | Ligurian | lt | Lithuanian |
lv | Latvian | mk | Macedonian | mr | Marathi |
ms | Malay | my | Burmese | nb-no | Norwegian Bokm?l (Noruega) |
ne-np | Nepali (Nepal) | nl | Dutch | nn-no | Norwegian Nynorsk (Noruega) |
oc | Occitan | pa-in | Panjabi (Índia) | pl | Polish |
pt-br | Portuguese (Brasil) | pt-pt | Portuguese (Portugal) | rm | Romansh |
ro | Romanian | ru | Russian | si | Sinhala |
sk | Slovak | sl | Slovenian | son | Songhais |
sq | Albanian | sr | Serbian | sv-se | Swedish (Suécia) |
ta | Tamil | te | Telugu | th | Thai |
tl | Tagalog | tr | Turkish | trs | Chicahuaxtla Triqui |
uk | Ukrainian | ur | Urdu | uz | Uzbek |
vi | Vietnamese | xh | Xhosa | zh-cn | Chinese (China) |
zh-tw | Chinese (Taiwan) | el | Modern Greek | sri | Brahmic |
Devanagari | Devanagari Extended | Vedic Extensions | |||
Latin Extended-A | Latin 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