Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default language is not working #414

Open
hadirsa opened this issue May 16, 2018 · 0 comments
Open

default language is not working #414

hadirsa opened this issue May 16, 2018 · 0 comments
Labels

Comments

@hadirsa
Copy link

hadirsa commented May 16, 2018

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 hadirsa changed the title default a language is not set as default default a language is not working May 16, 2018
@fulls1z3 fulls1z3 changed the title default a language is not working default language is not working Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants