Skip to content

default language is not working #414

@hadirsa

Description

@hadirsa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions