Announcement

Collapse
No announcement yet.

horizontal menu language selection

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • horizontal menu language selection

    How to change the language text in the selct box in a horizontal menu.

    For German it displays "German (Germany)", but I want the text to be in this language and without the repeater in brackets, ex. "Deutsch" instead of "Germany (Germany)"

    regards

    Troxx

  • #2
    Re: horizontal menu language selection

    In Scriptcase you cant do that, the language appear according with the language you select in the menu login when you start the Scriptcase.

    Comment


    • #3
      Re: horizontal menu language selection

      Sorry Max, but that's not right.

      Move to your SC install dir and open this fiile .. scriptcasewwwrootscriptcaseappYOUR_APP\_liblanglang_config_region.php.

      Depending on your region and language settings you can change the text of the language select box.

      In my case e.g.:

      change

      <?php
      $this->Nm_lang_conf_region = array();
      $this->Nm_lang_conf_region&#91;'de;de_de'] = "German (Germany)";
      $this->Nm_lang_conf_region&#91;'en_us;en_gb'] = "English (United Kingdom)";
      ksort($this->Nm_lang_conf_region);
      ?>

      to

      <?php
      $this->Nm_lang_conf_region = array();
      $this->Nm_lang_conf_region&#91;'de;de_de'] = "Deutsch";
      $this->Nm_lang_conf_region&#91;'en_us;en_gb'] = "English";
      ksort($this->Nm_lang_conf_region);
      ?>

      Be aware that you have do this for every project you start.

      Stefan

      Comment

      Working...
      X