KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to fully internationalize my web page and have URLs translated to different languages. For example http://example.tld/en/page http://example.tld/de/pagina all aforementioned pages should be handled by same controller and show same content (translated to desired language of course, this i know how to do - using message properties). So my questions are: How to achieve this functionality using @RequestMapping annotation? Can I configure such aliases in properties or XML file and then "inject" them into controller? i.e.: properties file: alias.page=page:pagina Controller @RequestMapping("${alias.page}") ... Or something like this. Thanks for answers.
Tags (comma-separated)
Save Edits
Cancel