Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Have you checked the Liferay Wiki: <a href="http://www.liferay.com/community/wiki/-/wiki/Main/Configure+time+zones+and+locale#section-Configure+time+zones+and+locale-JVM+Locale+and+Time+Zone+Settings" rel="nofollow" title="Liferay Wiki: Configure time zones and locale">Configure time zones and locale</a>.</p> <p>I have not tried, but according to one of my colleague:</p> <p>There might be a localization mismatch with the two machines. Therefore, for one machine "en_GB" automatically gets attached to the URL.</p> <p>The problem can be resolved by setting a property in portal-ext.properties</p> <pre><code>locale.prepend.friendly.url.style=0 (by default it is set to 1). </code></pre> <p>The following is directly from the <a href="https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties#L2262" rel="nofollow" title="Liferay source for portal.properties from Github"><code>portal.properties</code></a>:</p> <pre><code># # Set this to 0 if the locale is not automatically prepended to a URL. This # means that each URL could potentially point to many different languages. # For example, the URL http://localhost:8080/web/guest/home could then be # viewed by users in many different languages. # # Set this to 1 if the locale is automatically prepended to a URL when the # requested locale is not the default locale. This means that each URL # points to just one language. For example, the URL # http://localhost:8080/web/guest/home would point to the default language. # The URL http://localhost:8080/zh/web/guest/home and # http://localhost:8080/zh_CN/web/guest/home would both point to the Chinese # language. # # In cases where the prepended locale is "zh" and not complete locale # "zh_CN", then the full locale returned will be based on the order in which # the locales appear in the property "locales". If "zh_CN" appears before # "zh_TW", then "zh" will be a short hand for "zh_TW". # # The default language is set in system.properties with the properties # "user.country" and "user.language". # # Set this to 2 if the locale is automatically prepended to every URL. This # means that each URL points to just one language. # # Note that each language requires an entry in the property "locales" and a # servlet mapping in web.xml for the I18n Servlet. # locale.prepend.friendly.url.style=1 </code></pre> <p>Hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload