Nordes / HoNoSoFt.DotNet.Web.Spa.ProjectTemplates

.Net Core 2.2 > SPA Application with VueJS/Vuex/WebPack 4/Picnic CSS/Fontello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Persists in vuex + localstorage the Language

Nordes opened this issue · comments

As the title says.

So that when a user come back we push the user to the proper section of the site.

i.e.: I give a link http://mysite.com/MyPage (default: en)

User who receive it use the site in Japanese so he gets forwarded to : http://mysite.com/ja/MyPage

However, if the user goes on the page http://mysite.com/en/MyPage, it will sets the current user locale to EN.

The counter also have been upgraded.

Normally it follow the "basics" from vuex.