Duplicate Resources (ResourceBlender Express)
From Lime 49 Wiki
When translations are changed resources may become duplicated. To remove duplicate resources, click Resources then Duplicate Resources.
When a language is selected, the database is searched for all translations in that language which are identical and duplicates are displayed in a grid. Clicking View Duplicate Details will show the resources which contain the duplicate translations, as well as all languages present in the database.
Translations for each resource can be edited or deleted from the Duplicate Resources dialog. Expanding the tree for a resource will show the applications and elements which use that resource.
Before deleting a resource, elements using that resource must be assigned a different resource. This can be done by merging the resource with similar resources.
Merging Duplicate Translations
If duplicate resources exist, translations into some languages may be available for one resource but not others. Merging translations will try to merge both translations and re-assign elements so all but one of the duplicates can be deleted.
The first none empty translation into each language is merged into the first resource, then elements are re-assigned.
For example: If the following translations were shown after clicking View Details.
| ID | Used By | English | Spanish | German | Italian | Slovenian | Polish | |
|---|---|---|---|---|---|---|---|---|
| 1 | 52 | 2 elements | About | Über | ||||
| 2 | 253 | 1 element | Acerca de | Über | O programie | |||
| 3 | 756 | 4 elements | Circa | O programu | O programie |
After merging all of these translations, the table would show:
| ID | Used By | English | Spanish | German | Italian | Slovenian | Polish | |
|---|---|---|---|---|---|---|---|---|
| 1 | 52 | 7 elements | About | Acerca de | Über | Circa | O programu | O programie |
| 2 | 253 | 0 element | Acerca de | Über | O programie | |||
| 3 | 756 | 0 elements | Circa | O programu | O programie |
The last two resources could then be deleted.
