The CA Open Space installation does not allow a Language to be selected, and thus it is installed in English.
A user willing to use other locale - Brazilian Portuguese, for example - needs to set it as his "user preferences".
This document explains how to set a default locale during Open Space installation and have all users automatically using it.
Important: The steps described in this document must be issued during CA Open Space installation.
First of all, proceed with the CA Open Space installation as indicated in the CA Open Space Implementation Guide.
Before running the steps related to Onboarding Tenants, you should define the following settings:
- Navigate to C:\Program Files\CA\Open Space\OSOP.
- Using Notepad, create a file named system-ext.properties.
- Add here the user locale and timezone (according to your needs) and save:
- Edit file portal-ext.properties and search for "#supported" section:
# supportedlocales=de_DE,es_ES,fr_FR,it_IT,ja_JP,pt_BR,pt_PT,zh_CN,en_US locale.prepend.friendly.url.style=0
- Change "locales" as follows, and add entry "time.zones" with the timezones valid for your installation and save:
# supported locale#locales=de_DE,es_ES,fr_FR,it_IT,ja_JP,pt_BR,pt_PT,zh_CN,en_USlocales=pt_BRlocale.prepend.friendly.url.style=0time.zones=\America/New_York,\America/Sao_Paulo,\UTC
- Additional examples of valid timezones can be found in the following link:
Liferay Wiki: Configure time zones and locale
- In the Windows Services panel, recycle OpenSpace services:
- Now, proceed with the Onboarding steps. You will still see the interface using the English settings.
- Create the new Company (or Tenant) and a user, as per the Implementation Guide instructions.
- Click Display Settings for the new user:
Note the Language and the Timezones available are the ones previously set.
The greeting message is already translated:
- Logon to OpenSpace as the new created user and verify the interface appears with the locale configured:
It is best practice to set your required "systen-ext.properties" and "portal-ext.properties" before you first run Liferay so that the defaults are setup correctly. Otherwise some things are stored in the database and can't be changed without database manipulation.