You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
When i set the locale parameter to another value than the default value that has been defined in
module.config.php, the routing does not take this into account and uses the default value of locale instead.
I should expect that ZF knows that locale should be set to 'en' without having to send the 'locale' parameter with every link you create on the website.
When I go to the faq, i would expect that te site goes to http://mydomain.com/**en**/faq
Actual results
When I switch to en, the routing uses the default value 'nl' instead
So when I go to the faq now, the site goes to http://mydomain.com/**nl**/faq , when I have switched the language to en.
The text was updated successfully, but these errors were encountered:
When i set the locale parameter to another value than the default value that has been defined in
module.config.php, the routing does not take this into account and uses the default value of locale instead.
Code to reproduce the issue
route definition of module.config.php:
layout in which you can choose another language: website.phml I have hard coded the value to 'en':
Expected results
I should expect that ZF knows that locale should be set to 'en' without having to send the 'locale' parameter with every link you create on the website.
When I go to the faq, i would expect that te site goes to http://mydomain.com/**en**/faq
Actual results
When I switch to en, the routing uses the default value 'nl' instead
So when I go to the faq now, the site goes to http://mydomain.com/**nl**/faq , when I have switched the language to en.
The text was updated successfully, but these errors were encountered: