[MicroStation CONNECT Ed. u13] _USTN_LOCALE_LANGUAGE

_USTN_LOCALE_LANGUAGE is a predefined and locked variable. According to recommendations I'm using this var to set some configuration issues. 

Now I have computers on which my config does not work as the variable points to 'de', although the application is started in english (en) (and no language pack is installed anymore, either).

Where does MicroStation draw the language from? I can't find _USTN_LOCALE_LANGUAGE set (as a definition) anywhere in the config, only as a reference.

Parents
  • Where does MicroStation draw the language from? I can't find _USTN_LOCALE_LANGUAGE set (as a definition) anywhere in the config, only as a reference.

    You could find the variable after creating _ustn_displayallcfgvars = 1 in your Configuration Variables dialog box. That variable seems to be needed for certain localized versions of MS in order to process their delivered font resource files (e.g. MS_SYMBRSRC).

    For the selection of language, you could have access Preferences > Language > Select Language after installing the language pack.


    This is a test

  • I know that. I know where to find the variable visually in the configuration dialog. My question was where MS CE creates the variable. it is not part of the configuration, you won't find it in any cfg.

    I also know that you can change the language of the MS GUI via preferences. This does not answer the real question though: how can _ustn_locale_language be used in a config to determine the language of MS CE. Can't it be used for that purpose. Obviously I have difficulties.

    As a workaround I use this construct:

    %if $(_USTN_LOCALE_COUNTRY) == ""
        MS_KEYBOARDSHORTCUTSSEED   = $(MS_ORGANIZATION_USER_APPSETTINGS_DFLTS)KeyboardShortcutSeed_$(_USTN_LOCALE_LANGUAGE).xml
        MS_KEYBOARDSHORTCUTS        = $(_USTN_PREFNAMEBASE).KeyboardShortcuts_$(_USTN_LOCALE_LANGUAGE).xml
    %endif

    because I found that _ustn_locale_language is only correct if _Ustn_locale_country is not set.

    So how are these 2 variables determined by Bentley?

Reply
  • I know that. I know where to find the variable visually in the configuration dialog. My question was where MS CE creates the variable. it is not part of the configuration, you won't find it in any cfg.

    I also know that you can change the language of the MS GUI via preferences. This does not answer the real question though: how can _ustn_locale_language be used in a config to determine the language of MS CE. Can't it be used for that purpose. Obviously I have difficulties.

    As a workaround I use this construct:

    %if $(_USTN_LOCALE_COUNTRY) == ""
        MS_KEYBOARDSHORTCUTSSEED   = $(MS_ORGANIZATION_USER_APPSETTINGS_DFLTS)KeyboardShortcutSeed_$(_USTN_LOCALE_LANGUAGE).xml
        MS_KEYBOARDSHORTCUTS        = $(_USTN_PREFNAMEBASE).KeyboardShortcuts_$(_USTN_LOCALE_LANGUAGE).xml
    %endif

    because I found that _ustn_locale_language is only correct if _Ustn_locale_country is not set.

    So how are these 2 variables determined by Bentley?

Children
No Data