Fórum

Community Language Change

thumbnail
Iñaki Paz Rey, modificado 14 Anos atrás.

Community Language Change

New Member Postagens: 16 Data de Entrada: 17/01/08 Postagens Recentes
Hello everybody,
Im having some trouble. I started to build a guest community and introduced some data. Now im trying to change the default start language on the portal by modifying the system-ext.properties. However, it ignores that file and continues to render the first default language. Am I missing something? Is there any other change I should do?

Im working on a Liferay 5.2.2.

Thanxs in advance,
Iñaki
thumbnail
Gustavo Fernández Gómez, modificado 14 Anos atrás.

RE: Community Language Change

Regular Member Postagens: 191 Data de Entrada: 26/10/07 Postagens Recentes
I think you have to set the propertie into the system.properties (or something similar file) also.
thumbnail
Iñaki Paz Rey, modificado 14 Anos atrás.

RE: Community Language Change

New Member Postagens: 16 Data de Entrada: 17/01/08 Postagens Recentes
Thanks Gustavo for your help,
I did that already as I said. Im actually testing to change the language property for the default user. Anyway, Im missing something here.
Andrzej Figas, modificado 14 Anos atrás.

RE: Community Language Change

New Member Postagens: 6 Data de Entrada: 21/05/09 Postagens Recentes
Clear your cookies. If you've put these two lines in system-ext:

user.country=
user.language=


then everything should be OK. If you had default en_US then there is a cookie in your browser that says you want page in this language.
thumbnail
Iñaki Paz Rey, modificado 14 Anos atrás.

RE: Community Language Change

New Member Postagens: 16 Data de Entrada: 17/01/08 Postagens Recentes
Thanks Andrzej,
I did that, but that solves for new communities. Not for existing ones.

Kind of silly the solution is ;-)
I have solved it by selecting the default language for the portal in portal configuration (in control panel).
Have fun,
Iñaki Paz