Legacy Knowledge Base
Published Jun. 30, 2025

When a web content is copied, only its title is changed for default language

Written By

Sergio Alonso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When copying content, the suffix "(Copy)" is only added to the title in the default language. Shouldn't it also change in the rest of the languages?

    In our example, if the copied content becomes "prueba copia eus (Copy)" in Basque, it should also be "prueba copia es (Copy)" in Spanish. However, this is not currently the case and the title in Spanish remains "prueba copia es".

Environment

  • 2023.q4.2

Resolution

  • In order to change the title (by adding the suffix "(Copy)" for the corresponding locale), the translation of the web content must have a friendly URL that is equivalent to the title of the web content.

    Using the web content of the example that you used:

    • The web content "prueba copia eus" (locale: "eu-ES") is created.
    • It is translated to the locale "es-ES" as "prueba copia es".
    • It is published.

    At this point, the web content only has one friendly URL: "prueba-copia-eus" for the locale "eu-ES".

    If the web content is edited and the friendly URL for the locale "es-ES" is entered as the value "prueba-copia-es" (or the value of the web content title is copied and pasted so that the friendly URL is formatted by the product), and then the web content is published, then the "Make a copy" functionality will be able to add the suffix "(Copy)" to both the title of the web content with locale "eu-ES" and the title of the web content with locale "es-ES".

    Here is a more detailed explanation of the steps involved:

    1. The web content "prueba copia eus" is created in the locale "eu-ES".
    2. The web content is translated to the locale "es-ES" as "prueba copia es".
    3. The web content is published.

    At this point, the web content only has one friendly URL: "prueba-copia-eus" for the locale "eu-ES".

    1. The web content is edited.
    2. The friendly URL for the locale "es-ES" is entered as the value "prueba-copia-es".
    3. The web content is published.

    Now, the web content has two friendly URLs:

    • "prueba-copia-eus" for the locale "eu-ES"
    • "prueba-copia-es" for the locale "es-ES"

    The "Make a copy" functionality can now add the suffix "(Copy)" to both the title of the web content with locale "eu-ES" and the title of the web content with locale "es-ES".

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base