Liferay 6.2: How to set default site language programatically? - liferay

I want to change default language on my site programmatically (like how I can go to site settings -> display settings and set available and default locales).
So how I can do it with liferay build-in functionality?

Related

Edit multilingual pages

Based on the document:
When you open the Pages application on a multilingual website, you can see the language selector below the content tree. Use the selector to switch between language versions of the currently selected page.
But my language selector is missing!!!!
I am using Kentico v10.0.11 with Based license edition.
I have set UK and US in my website.
What else did I miss?
Can you double check you have assigned cultures for your current site?
As far as I know localization should be accessible in the base license so this should not be an issue.
If everything is set properly and it`s still not working you could check event log and browser console.

kentico custom settings not accessible

I have added some custom settings to Kentico 7.0.50
However I can no longer locate them in Site Manager. I have tried using Settings->Custom Settings and looing in the navigation tree. I have also tried Development -> custom settings.
I can locate them by using the search ability in Settings->Custom Settings, and I see that they are several levels deep ( heading like Custom Settings> Site Name -> Category Name > Social Networks > Global ) I cant edit the setting when it is located in this manner.
How can I find and edit the custom setting?

Liferay Portal changing default page

I'm developing Liferay Portal project, and when I navigate to localhost:8080, it's redirecting to "localhost:8080/en".
I did all localization settings for my language (Turkish), but it didn't work. Basically when I navigate to localhost:8080, I want it to redirect to localhost:8080/tr. How can I do this?
Please change the default language from en_US to tr_TR. Please add the portal-ext.properties to your server level or in ROOT/WEB-INF/classes and add the following property.
company.default.locale=tr_TR
after this, restart the server and it should work. This may not work for the existing User, so, please change the user's default language as well from the Profile.

Orbeon and Liferay - shared user

I'm trying to make application which is build on Liferay with OrbeonForms. I have a question: Is there some oportunity to share user with both? I mean I want to set default language in Orbeon which is the same as in logged user in Liferay e.g. Liferay user uses Japanese language, and he open orbeon via his Liferay portal, and there should be also Japanese language set as default.
regards
This is not possible right now but I entered an RFE as it makes sense:
https://github.com/orbeon/orbeon-forms/issues/1122

cannot find "language settings" in sharepoint server 2010

i want to use multilanguage support in sharepoint ,
so after installing language pack and reconfiguring sharepoint
i couldn't find "language settings" under site administration in site settings
any ideas ??
once you have installed the language pack, you should be able to change it on the site settings for each site/site collection.
On top of that, the user can change the language on a per-user basis.

Resources