Feature/setting locale url
Created by: ivanmrsulja
Solves this VIVO GitHub issue
What does this pull request do?
The link http://localhost/vivo/individual?uri=http://localhost/vivo/individual/pers_53a426a6-edc4-4f89-9bf6-c249fcf3b320&lang=pt_BR should open profile page for person with uri http://localhost/vivo/individual/pers_53a426a6-edc4-4f89-9bf6-c249fcf3b320 in the Portuguese language (IF PORTUGUESE LANGUAGE IS ADDED FIRST!).
What's new?
Changed languageSelector.ftl
so it parses URL as soon as the page is loaded to check if locale is specified. If it is, then the language list is checked to verify existance of such locale and, if successfull, updates the locale. Every successive change of locale will update the URL locale.
How should this be tested?
Add some languages to VIVO first. Try to set any locale from URl (not just Potuguese
Interested parties
@chenejac