<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Web Content with custom language has bug?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113179099" />
  <subtitle>Web Content with custom language has bug?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113179099</id>
  <updated>2026-04-05T17:28:21Z</updated>
  <dc:date>2026-04-05T17:28:21Z</dc:date>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113323438" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113323438</id>
    <updated>2019-04-21T02:02:21Z</updated>
    <published>2019-04-21T02:02:21Z</published>
    <summary type="html">Ah, I did not get notification on my slack. Yes, I see the discussion now. I&amp;#39;m on 7.1.2 GA3</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-21T02:02:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113315731" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113315731</id>
    <updated>2019-04-20T02:32:31Z</updated>
    <published>2019-04-20T02:32:31Z</published>
    <summary type="html">Hey Jason, &lt;br /&gt;&lt;br /&gt;I think I saw you post something in the slack channel as well and someone from Liferay referenced a JIRA issue logged for this case from an earlier version of 7.1. Are you using the latest (GA3)? or an earlier version?</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-04-20T02:32:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113314648" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113314648</id>
    <updated>2019-04-20T01:21:44Z</updated>
    <published>2019-04-20T01:21:44Z</published>
    <summary type="html">Hey Andrew, I did it after the start.</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-20T01:21:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113304664" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113304664</id>
    <updated>2019-04-19T15:12:39Z</updated>
    <published>2019-04-19T15:12:39Z</published>
    <summary type="html">Did you do this with a fresh bundle? or after you had already started the portlet for the first time? I ask because if it was done after the fact and you have disabled one of the locales, I am wondering if that could be part of the problem.</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-04-19T15:12:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113303082" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113303082</id>
    <updated>2019-04-19T14:47:18Z</updated>
    <published>2019-04-19T14:47:18Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Try this.&lt;br&gt;&lt;br&gt;1. In portal-ext.properties, set&lt;pre&gt;&lt;code&gt;locales.enabled=en_GB&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;2. Set both Site Settings and Instance Settings to only have en_GB.&lt;br&gt;&lt;br&gt;3. Create a Basic Web Content, fill up the title and content, and hit Publish.&lt;br&gt;&lt;br&gt;4. Reopen the created content, and check the content field again. You'd see the buggy content with en_US reference.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-19T14:47:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113297872" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113297872</id>
    <updated>2019-04-19T12:25:47Z</updated>
    <published>2019-04-19T12:25:47Z</published>
    <summary type="html">Hey Jason,&lt;br /&gt;&lt;br /&gt;That sucks. I mean, at least you have a work around I suppose but I would open a ticket at &lt;a href="https://issues.liferay.com/secure/Dashboard.jspa"&gt;https://issues.liferay.com/secure/Dashboard.jspa&lt;/a&gt; so that Liferay can be made aware of it and possibly include a fix in a future release.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m going to try to reproduce it on my side -- is everything I need to do that included in this thread?</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-04-19T12:25:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113291734" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113291734</id>
    <updated>2019-04-19T04:06:50Z</updated>
    <published>2019-04-19T04:06:50Z</published>
    <summary type="html">Hi Andrew,&lt;br /&gt;&lt;br /&gt;That doesn&amp;#39;t seem to work either. &lt;br /&gt;&lt;br /&gt;In the portal, I tried removing everything, leaving just en_GB. Even with only a single language, without translation required, the Basic Web Content still shows the weird bug with &amp;#34;en_US&amp;#34; in it.  &lt;img alt="emoticon" src="@theme_images_path@/emoticons/angry.gif" &gt;​​​​​​​</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-19T04:06:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113288723" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113288723</id>
    <updated>2019-04-19T00:30:03Z</updated>
    <published>2019-04-19T00:30:03Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hey Jason,&lt;br&gt;&lt;br&gt;You know what -- as soon as I read your post I had a flash back to this same problem I had once, but a while back -- I think it might have actually been back on version 6.2 even. If my memory serves me right, the issue for me resulted from trying to start the portal up for the first time and not having en-US in place. Now, I'm not sure if modifying this will matter -- honestly I can't remember if I actually solved the problem or figure it out even but I am wondering if you can change something in the system.properties to help.&amp;nbsp;&lt;br&gt;&lt;br&gt;If you create a file called system-ext.properties in the webapps/ROOT/WEB-INF/classes and in it specify this property with your settings ---&lt;pre&gt;&lt;code&gt;#
# 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&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;.. instead of the defaults, I wonder if that will help?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-04-19T00:30:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113282596" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113282596</id>
    <updated>2019-04-18T12:39:33Z</updated>
    <published>2019-04-18T12:39:33Z</published>
    <summary type="html">Apparently this has something to do with American English still required? I included American English and the bug is gone. How do I remove the dependency of American English?</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-18T12:39:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113223458" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113223458</id>
    <updated>2019-04-15T04:55:46Z</updated>
    <published>2019-04-15T04:55:46Z</published>
    <summary type="html">I&amp;#39;ve done as you suggested but the problem persists &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;​​​​​​​</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-15T04:55:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113222621" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113222621</id>
    <updated>2019-04-15T03:23:53Z</updated>
    <published>2019-04-15T03:23:53Z</published>
    <summary type="html">Thanks for the reply Andrew. Do you mean I should remove all the unused locales and just add my required languages (ms_MY and en_G&lt;img alt="emoticon" src="@theme_images_path@/emoticons/cool.gif" &gt; under locales and locales.enabled?&lt;br /&gt;&lt;br /&gt;I have done that for locales but not with locales.enabled. I will try again.</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-15T03:23:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113222161" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113222161</id>
    <updated>2019-04-15T02:07:24Z</updated>
    <published>2019-04-15T02:07:24Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Woah, that is weird for sure. Might be a bug -- first thing I would try though is making sure that the language options for the Instance Settings include any languages that are used across all the sites that are associated with that instance. I usually also make sure that the following two properties in my portal-ext are overridden with the languages that I am supporting, just for good measure&lt;pre&gt;&lt;code&gt;#
# Specify the available locales. Messages corresponding to a specific
# language are specified in properties files with file names matching that
# of content/Language_*.properties. These values can also be overridden in
# properties files with file names matching that of
# content/Language-ext_*.properties. Use a comma to separate
# each entry.
#
# If there is more than one locale for the same language, the first one in
# the list will be used when a translation is requested in another locale of
# the same language but a translated value cannot be found. For example, if
# there are two locales such us pt_BR and pt_PT (in this order), any key not
# found in pt_PT will be looked for in pt_BR.
#
# Language codes follow the ISO 639-1 standard. Content for each locale must
# be UTF-8 encoded.
#
# See the following links, which specify language and country codes:
#     http://www.loc.gov/standards/iso639-2/php/code_list.php
#     http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
#
# Env: LIFERAY_LOCALES
#
locales=ar_SA,eu_ES,bg_BG,ca_AD,ca_ES,zh_CN,zh_TW,hr_HR,cs_CZ,da_DK,nl_NL,nl_BE,en_US,en_GB,en_AU,et_EE,fi_FI,fr_FR,fr_CA,gl_ES,de_DE,el_GR,iw_IL,hi_IN,hu_HU,in_ID,it_IT,ja_JP,ko_KR,lo_LA,lt_LT,nb_NO,fa_IR,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,sr_RS,sr_RS_latin,sl_SI,sk_SK,es_ES,sv_SE,th_TH,tr_TR,uk_UA,vi_VN

#
# Specify the locales that are enabled by default.
#
# Env: LIFERAY_LOCALES_PERIOD_ENABLED
#
locales.enabled=ca_ES,zh_CN,nl_NL,en_US,fi_FI,fr_FR,de_DE,iw_IL,hu_HU,ja_JP,pt_BR,es_ES

&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;.. maybe try that (with a restart of course) and see if it helps at all? I also don't see the Malaysian one in the list, but I don't think that should matter -- it would just mean of course that you would have to provide all translations -- but you probably already know that.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-04-15T02:07:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113220536" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113220536</id>
    <updated>2019-04-15T01:33:31Z</updated>
    <published>2019-04-15T01:33:31Z</published>
    <summary type="html">My Site Settings shows this:&lt;br /&gt;&lt;br /&gt;&lt;img src="https://i.ibb.co/XYgwSzR/Screen-Shot-2019-04-15-at-9-28-47-AM-2.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, my Instance Settings shows this: &lt;br /&gt;​​​​​​​&lt;br /&gt;&lt;img src="https://i.ibb.co/4RHTWvF/Screen-Shot-2019-04-15-at-9-28-58-AM-2.png" /&gt;</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-15T01:33:31Z</dc:date>
  </entry>
  <entry>
    <title>Web Content with custom language has bug?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113179098" />
    <author>
      <name>Jason Chee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113179098</id>
    <updated>2019-04-12T07:05:17Z</updated>
    <published>2019-04-12T07:05:17Z</published>
    <summary type="html">Hey guys, I&amp;#39;ve recently added a new language (ms-MY) into my portal, which is supporting two languages (ms-MY and en-G&lt;img alt="emoticon" src="@theme_images_path@/emoticons/cool.gif" &gt;. The language selector shows my two languages as options, all is good. &lt;br /&gt;&lt;br /&gt;However, when I tried to make web content with translation, this happens after saving and reopening the content.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://i.ibb.co/8djG4CH/Screen-Shot-2019-04-12-at-2-57-20-PM.png" /&gt;&lt;br /&gt;&lt;br /&gt;Basically, I typed &amp;#34;language A&amp;#34; under ms-MY and &amp;#34;language B&amp;#34; under en-GB. However, the content field will reload this weird format that somehow also include en-US. On display, the web content will just display this weird content regardless of the chosen language.&lt;br /&gt;&lt;br /&gt;​​​​​​​Any idea what may have gone wrong?</summary>
    <dc:creator>Jason Chee</dc:creator>
    <dc:date>2019-04-12T07:05:17Z</dc:date>
  </entry>
</feed>
