Skip to content

Default translation setting

This setting controls the default language for text displayed to users in the AyaNova user interface.

Users can choose to override this setting in their user account by choosing an another language.

It will also be used for some messages that originate at the server and are not associated with a particular user where applicable.

Default

If no language is specified or AyaNova can't find the language specified in the database then AyaNova defaults to English translation "en".

Built in language values

In addition to user defined or customized languages, AyaNova comes with 4 "stock" languages built in and accepts a range of values for selecting the stock language. You can use the ISO two letter country code or the English name of the language or that languages own name for the language.

Valid settings:

TRANSLATION VALID SETTINGS
English "en", "English"
French "fr", "French", "Français"
German "de", "German", "Deutsch"
Spanish "es", "Spanish", "Español"

Custom language values

AyaNova allows for customized languages and this setting should be the exact name of a custom translation that exists within AyaNova if not using a built in language.

Setting

AyaNova expects the language setting to be provided by a config.json property, environment variable or command line parameter named

AYANOVA_DEFAULT_TRANSLATION

The value specified should be a string containing one of the stock valid settings in the table above or the name of a custom translation, for example: French or AcmeWidgetsCustomTranslation

Example config.json entry

{
  ...other properties...
  "AYANOVA_DEFAULT_TRANSLATION": "en"
}

Example command line parameter

ayanova.exe --AYANOVA_DEFAULT_TRANSLATION="ES"

Example environment variable

Windows

set "AYANOVA_DEFAULT_TRANSLATION=DE"

Linux

export AYANOVA_DEFAULT_TRANSLATION="MyCustomTranslation"