java - How to pass language to liferay using cas authentication -
I have created some login pages and used CAS to authenticate and log in to my life server. My integration works and I am able to log in and access my tongue server. Now I am planning to make a language selection in my login page so that once the user needs to select the language that needs it, I can choose how I win it.
Liferay accepts the language as the first path element in its URL - e.g., Alternatively, consider different ways Liferay determines the language: Through Accept-Language browser header, the user's profile, the default language of the global portal. www.example.com/web/guest/ Instead of redirecting to home ,
www.example.com/es/web/guest/home .
Comments
Post a Comment