Fórum

Set Arabic as default locale for site

thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

Set Arabic as default locale for site

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
Dears,

I want to set custom language ar_SA as my default language.

I know I can set it through XYZSite> Site Settings > Display Settings > Custom Language and set Saudi Arabic as default language.

What I want is when I hit my url i.e www.xyz.com, it should by default show me Arabic landing page.

I have two sites under liferay portal. One is main site for the company and another is HR site.

This change should be for main site only and not for HR site.

How can I achieve the same ? Please help.


PS: If I make changes in user_ table, make default user languageId to ar_SA, it will change complete portal default language. I dont want to do that.
thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

RE: Set Arabic as default locale for site

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
No Solution for it ? Anyone from Liferay team ?
thumbnail
Harish Kumar, modificado 10 Anos atrás.

RE: Set Arabic as default locale for site (Resposta)

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Hi

Please refer http://www.liferayzone.com/2011/07/community-specific-locale-liferay.html
thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

RE: Set Arabic as default locale for site

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
Thanks.

Any direct way other thn creating a hook ?
thumbnail
Fakhruddin S Mushki, modificado 10 Anos atrás.

RE: Set Arabic as default locale for site

Junior Member Postagens: 78 Data de Entrada: 10/04/13 Postagens Recentes
Hook worked. Thanks.