How to configure instance location
  • 2 minutes to read
  • Dark
    Light
  • PDF

How to configure instance location

  • Dark
    Light
  • PDF

Article summary

In this document, you’ll find the steps on how to configure the location of senhasegura.

View command options

You can define localization settings, server time zone, and internal browser language using the orbit locale command.

Important

Changes in web interface language and proxy system languages are made through user preferences and dedicated proxy system commands.

Attention

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

mt4adm@vmdf-giskard:~$ sudo orbit locale --help
Usage: orbit locale

Language and locale settings

Flags:
 -h, --help Show context-sensitive help.
 --force Force the command execution, never prompt

lcle
 --timezone=STRING Timezone string
 -l, --browser-locale=STRING Specifies the browser locale for http sessions.

act
 --show
List current configuration
Use the --show argument.

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

Configure internal browser language

  1. Use the --browser-locale argument.
mt4adm@vmdf-giskard:~$ sudo orbit locale --browser-locale en-gb
mt4adm@vmdf-giskard:~$

Refer to the following table with valid language codes for this configuration:

CodeLanguageCodeLanguageCodeLanguage
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 (India)heHebrewhi-inHindi (India)
hrCroatianhsbUpper SorbianhuHungarian
hy-amArmenian (Armenia)iaInterlinguaidIndonesian
isIcelandicitItalianjaJapanese
kaGeorgiankabKabylekkKazakh
kmCentral KhmerknKannadakoKorean
lijLigurianltLithuanianlvLatvian
mkMacedonianmrMarathimsMalay
myBurmesenb-noNorwegian Bokmål (Norway)ne-npNepali (Nepal)
nlDutchnn-noNorwegian Nynorsk (Norway)ocOccitan
pa-inPanjabi (India)plPolishpt-brPortuguese (Brazil)
pt-ptPortuguese (Portugal)rmRomanshroRomanian
ruRussiansiSinhalaskSlovak
slSloveniansonSonghaissqAlbanian
srSerbiansv-seSwedish (Sweden)taTamil
teTeluguthThaitlTagalog
trTurkishtrsChicahuaxtla TriquiukUkrainian
urUrduuzUzbekviVietnamese
xhXhosazh-cnChinese (China)zh-twChinese (Taiwan)
elModern GreeksriBrahmicDevanagari
Devanagari ExtendedVedic Extensions
Latin Extended-ALatin Extended-B

Configure a new location

To configure a new location, you must first know the possibilities. Available locations are in the /usr/share/zoneinfo directory.

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

Was this article helpful?