Search code examples
liferayliferay-6

Adding a language to Liferay


I'm using Liferay Portal 6.1.0 GA1

SCENARIO: After configure a portal-ext.properties like:

locales=es_ES,en_US
time.zones=Europe/Paris

And running the server OK... (only those languages and timezone)

I want to add a new language through Control Panel -> Portal Settings -> Display Settings, writting

es_ES,en_US,it_IT to AVAILABLE LANGUAGES

But I get:

Please enter a valid locale error. 

I also tried to stop LR and edit portal-ext.properties but I got the same.

Can you help me?

Thx a lot! Alberto


Solution

  • ASWER my own question:

    I tried to add Italian (beta phase) so I tried:

    locales=es_ES,en_US
    locales.beta=it_IT
    time.zones=Europe/Paris
    

    But that does not work in LR Portal 6.1.0. So then I tried:

    locales=es_ES,en_US,it_IT
    time.zones=Europe/Paris
    

    And solved