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: switch to user's language when user just access portal
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
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™