Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Info page does not show correct language after log-in
I have a portal that is developed by other developers who has left the company. The portal contains a few portlets. My problem is the info page does not use language that I use on login page.
For example: In login page, I use French language and the URL is http://localhost:8080/fr/web/content/login. After entering username and password, it shows info page in English which is the default language ( http://localhost:8080/en/web/content/info ). It suppose to show in French.
I tested other pages by navigating from page to page. For example, from http://localhost:8080/fr/web/content/info to http://localhost:8080/fr/web/content/query, it seems that the pages show the correct language.
This problem only happens when I log-in.
Any ideas why is this happening and how can I fix it ?
I'm using Liferay SP 5.2 .
For example: In login page, I use French language and the URL is http://localhost:8080/fr/web/content/login. After entering username and password, it shows info page in English which is the default language ( http://localhost:8080/en/web/content/info ). It suppose to show in French.
I tested other pages by navigating from page to page. For example, from http://localhost:8080/fr/web/content/info to http://localhost:8080/fr/web/content/query, it seems that the pages show the correct language.
This problem only happens when I log-in.
Any ideas why is this happening and how can I fix it ?
I'm using Liferay SP 5.2 .
I found the problem.
It was using actionResponse.sendRedirect. That why Info page get new request object.
It was using actionResponse.sendRedirect. That why Info page get new request object.