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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -