dear all, i´m working on mvc application needs support 2 or more languages , covering ui different countries. receive guidance of best approach in order store user selection language , portal. i´ve been reading , seems that:
- it stored in cookie reading values permanent data , recreate cookie when value changes
- another case prefer set information @ httpcontext in session.
- another approach use base controller change data taking consideration locale selection.
any idea, pros cons appreciated.thanks in advance. brgds.
i used schema , happy it.
it has language in route. turns out convenient:
- at point have email link page language choosen
- seo
- its easy switch between languages in development , in translation process
- no problems load balancer
- frontend tests more stable if can define language in url
Comments
Post a Comment