Duplicate Resources
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 Details will show the resources which contain the duplicate translations, as well as all languages in which the resources are available.
Translations for each resource can be edited in the same way as the online resource editor. Clicking Show elements 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 clicking Edit then changing the value selected from the drop-down box..
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 Show 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.
