<?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>Localization in 7.2</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118799709" />
  <subtitle>Localization in 7.2</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118799709</id>
  <updated>2026-04-07T10:21:52Z</updated>
  <dc:date>2026-04-07T10:21:52Z</dc:date>
  <entry>
    <title>RE: Localization in 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118799048" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118799048</id>
    <updated>2020-03-24T09:14:51Z</updated>
    <published>2020-03-24T09:14:51Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;The only way&amp;nbsp; I see to do this is to delete them using a script to update all content xml structures (and titles and descriptions of course, but there it is easier, since you can simply set titleMap/descriptionMap)&lt;br&gt;So, you would need to delete the available locales, maybe update the default-locale (use JournalArticle.setDefaultLanguage()) and remove the dynamic content entries for the languages you don't need. &lt;br&gt;So, you would change:&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;!--?xml version="1.0"?--&amp;gt;

&amp;lt;root available-locales="fr_FR,en_US" default-locale="en_US"&amp;gt;
	&amp;lt;dynamic-element name="content" type="text_area" index-type="text" instance-id="nofk"&amp;gt;
		&amp;lt;dynamic-content language-id="fr_FR"&amp;gt;&amp;amp;lt;p&amp;amp;gt;test2&amp;amp;lt;/p&amp;amp;gt;&amp;lt;/dynamic-content&amp;gt;
		&amp;lt;dynamic-content language-id="en_US"&amp;gt;&amp;amp;lt;p&amp;amp;gt;test&amp;amp;lt;/p&amp;amp;gt;&amp;lt;/dynamic-content&amp;gt;
	&amp;lt;/dynamic-element&amp;gt;
&amp;lt;/root&amp;gt;&lt;/code&gt;&lt;/pre&gt;to&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;!--?xml version="1.0"?--&amp;gt;

&amp;lt;root available-locales="en_US" default-locale="en_US"&amp;gt;
	&amp;lt;dynamic-element name="content" type="text_area" index-type="text" instance-id="nofk"&amp;gt;
		&amp;lt;dynamic-content language-id="en_US"&amp;gt;&amp;amp;lt;p&amp;amp;gt;test&amp;amp;lt;/p&amp;amp;gt;&amp;lt;/dynamic-content&amp;gt;
	&amp;lt;/dynamic-element&amp;gt;
&amp;lt;/root&amp;gt;&lt;/code&gt;&lt;/pre&gt;Please take care to do this through the JournalArticle API, don't do this e.g. directly in the database!!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-03-24T09:14:51Z</dc:date>
  </entry>
  <entry>
    <title>Localization in 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118799708" />
    <author>
      <name>Shruti Mishra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118799708</id>
    <updated>2020-03-24T05:27:33Z</updated>
    <published>2020-03-24T05:27:33Z</published>
    <summary type="html">Hi,&lt;br /&gt;Using Liferay 7.2.1 ga2&lt;br /&gt;We had enable two locale for portal earlier en_GB and en_US. All the web content was translated in both Locale.&lt;br /&gt;Now we want to keep only one Locale en_US and remove other. Can we some how delete all translations of en_GB for web contents?&lt;br /&gt;Is it  possible to delete Locale translation?</summary>
    <dc:creator>Shruti Mishra</dc:creator>
    <dc:date>2020-03-24T05:27:33Z</dc:date>
  </entry>
</feed>
