Zend languages is by default routing urls that way:
/en_US/mypage
/fr_FR/mypage
How can I change the route from 'en_US' to 'en' and 'fr_FR' to 'fr', example:
/en/mypage
/fr/mypage
Zend languages is by default routing urls that way:
/en_US/mypage
/fr_FR/mypage
How can I change the route from 'en_US' to 'en' and 'fr_FR' to 'fr', example:
/en/mypage
/fr/mypage
Copyright © 2021 Jogjafile Inc.
You could simply process the url by cutting it up as a string. If its . Here is simplistic suedocode: