Announcement

Collapse
No announcement yet.

date format doesn't change after sc_set_regional

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

  • date format doesn't change after sc_set_regional

    Hi,

    I'm using sc_set_language and sc_set_regional in my login code and date format doesn't change. But, well when I use language in toolsbar.
    In all my applications, date is set to Regional setting YES
    I'm using sc8, v.035


    exemple : I test this, it seems stay on en_us for regional setting.

    sc_set_language('en_us');
    sc_set_regional('en_us');
    switch(trim($usr_lang)){
    case "fr":
    sc_set_language('fr');
    sc_set_regional('fr');
    break;
    case "nl":
    sc_set_language('nl');
    sc_set_regional('nl');
    break;
    case "tr":
    sc_set_language('tr');
    sc_set_regional('tr');
    break;
    }


    Thanks for your helps
    Nac

  • #2
    If it is just the date, check the settings under Locales -> Regional Settings.

    jsb

    Comment


    • #3
      Jsb ,


      I have 384 app in my project, I tested the currency format, decimal character and it's the same !!!!

      There must be an another way ...

      Nac

      Comment


      • #4
        Hi,

        What event/type of app do you use to execute your script for change language/regional ?

        Comment


        • #5
          Hi ionutberlea

          I place the above code in my Application init event

          Thanks

          Comment


          • #6
            Did you tried in latest version 047?
            /Giuseppe

            Professional Scriptcase Services
            Some Customers opinions

            Comment

            Working...
            X