universal icon indicating copy to clipboard operation
universal copied to clipboard

default language is not working

Open hadirsa opened this issue 6 years ago • 0 comments

I'm submitting a ...

[ * ] Documentation issue or request

Current behavior I have added a new language to the languages list. Change in language's combo is Ok and works. The problem is that i want to set a new language as default. I did this in config.local.json but default language is not set on application start. Is there another changes that i should make to have default language on app startup?

"i18n": {
  "defaultLanguage": {
      "code": "fa",
      "name": "Persian",
      "culture": "fa-IR"
  },
  "availableLanguages": [
    {
      "code": "en",
      "name": "English",
      "culture": "en-US"
    },
    {
      "code": "tr",
      "name": "Türkçe",
      "culture": "tr-TR"
    },
    {
      "code": "fa",
      "name": "Persian",
      "culture": "fa-IR"
    }
  ],
  "useLocalizedRoutes": true
},

Expected/desired behavior

Start application with new default language.

  • Browser:
  • [ * ] Chrome (desktop) version Latest

hadirsa avatar May 16 '18 04:05 hadirsa