php - Symfony2 i18n: Is there a way to use the country code instead of the language in the route? -


working on app in symfony 2 , looking @ internationalisation/localisation. default behaviour routing use language works fine i18n not l10n.

i.e. content site different uk content route /en.

we use /en_gb in route, nicer if use /gb (or better yet, /uk)

is there way of doing doesn't involve inventing our own way of handling locales?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -