Search code examples
liferay

Change the default language in Liferay


How to change the default for language?

When a user logs in for the first time, the default language is English, and I need to change that.


Solution

  • You can change default language from Control panel - Portal Settings - Display Settings - Default langiuage. Also you can override params at portal-ext.properties :

    #
    # Set the default locale used by Liferay. This locale is no longer set at
    # the VM level. See LEP-2584.
    #
    user.country=US
    user.language=en
    

    BR, Paul