company logo

Application :: translationLanguage - Set default language for text translation

The function allows changing the default setting for the translation language in the text cache, which is the target language for the translate function, when no specific language has been passed.

translationLanguage("German");

Implementation details

Application  :: translationLanguage ( odaba::String &sLangName )

The translation language is set to the language passed in sLangname. Passing an invalid language name causes an exception.

  • sLangName - Language name

    The language name is the official English name for the required language. Language names always start with capital letters.