Duplicity Linking

Never translate the same keys again, link them together and let them share their translations. Learn how to use the Duplicity Linking feature allowing you to reuse content automatically across linked keys in all languages and even across several projects to keep duplicate string content under control.

Duplicity Linking is an advanced feature that is available in the Agency plan and higher.

Introduction 🔗

You can find how many duplicate keys are in your projects by visiting the Translations table in your project.

Localazy Duplicity Linking - Languages table

Duplicity Linking allows you to link multiple different keys with the same content. One of the keys is the content source. This key is not affected by the link and is available to translators as usual.

Localazy Duplicity Linking - Active string

The linked keys are hidden and are not shown to translators. After linking the duplicate key to the content source key, its previous values are not used. When the value of the linked key is retrieved during publishing, format conversion, or in the public API, the value from the content source key is used instead for all languages.

When you remove the link, the linked key will become active again, use its original values and translations and behave like a regular key again.

Localazy Duplicity Linking - Source Language Table Showing Duplicate Keys

How to resolve duplicities 🔗

Duplicity Linking is managed in the Localazy Console.

There you can see a list of your projects and the % of duplicities it contains. Click on Actions for the project that you want to start with and select Resolve duplicities to start.

Localazy Duplicity Linking - List of Projects

Now you will see an overview of duplicities that should be resolved.

Localazy Duplicity Linking - List of Duplicities

Click on Edit to start resolving each duplicity.

In the dialog that popped up, you can create links between keys or mark keys as unique by using the Options menu on the right side of each of the keys.

Localazy Duplicity Linking

Duplicates are sent to the Resolved list when all items are linked or marked as unique. Whenever there is any change in the project that creates new or affects existing duplicates, they are automatically moved back to the Unresolved list.

Localazy Duplicity Linking

Repeat this process for each occurrence and that’s it! You have successfully resolved duplicates in your project.

You can also click on Actions for a selected project and use the Show Links option to show all existing links.

Now, you can examine and filter existing links and, when desired, remove them.

Localazy Duplicity Linking

Cross-project linking 🔗

The process is essentially the same as described above for a single project.

You can select multiple projects (up to 4 at the same time), and from the Cross-Project Actions that appear in the table header, select Resolve duplicities.

As in a single project mode, you are presented with all the duplicates in a task-like list. Everything works exactly the same, except that you can see what project the key is coming from when linking them.

You can manage duplicity links using public API, automating their creation or deletion.