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., www.example.com/web/guest/ Instead of redirecting to home , www.example.com/es/web/guest/home .

Alternatively, consider different ways Liferay determines the language: Through Accept-Language browser header, the user's profile, the default language of the global portal.

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -