RE: switch to user's language when user just access portal

Scarletake Bwi, modified 4 Years ago. Expert Posts: 327 Join Date: 12/20/10 Recent Posts

hi

is there any passable to switch to user's language when user just access portal(before login)?

i know i can use language selector to help, but i want just like liferay.com. 

if it can do it, how to? i use liferay 7.4 ce.

thank you

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

By default, Liferay should use a language negotiated with the browser (e.g. the highest in the browser's preferences that the portal offers). See these settings https://docs.liferay.com/ce/portal/7.4-latest/propertiesdoc/portal.properties.html#Languages%20and%20Time%20Zones and configure your portal-ext.properties according to the options you find in this chapter.