LingoHub Help Center

Our experience, knowledge and lessons learned - all here just for you.

Text Segment Keys Uniqueness

The Text Segment Uniqueness settings can be accessed under the Preferences section of the Dashboard page in the Import/Export tab.

Img

Uniqueness per Project

Img

If the text segment key uniqueness setting is set to Project, the following occurs when a new resource file containing already existing keys is uploaded :

  • The text segments for the duplicate keys are removed from the existing resource files. Please be aware that this behaviour is valid for all existing resource files and not only for the last uploaded one.
    Considering the example above, if we had another file : x.yml file containing the key form, the latter would be removed from x.yml after the upload of b.yml.

Uniqueness per Resource File

Img

If the text segment uniqueness setting is set to Resource file, this is what happens when a new resource file containing already existing keys is uploaded :

  • The text segments for the duplicate keys are kept in all the resource files and are all accessible in the editor.

If there are keys duplicates, it is not possible to switch from the resource file uniqueness setting to the project uniqueness setting. The duplicates need to be handled first.

That's it for the text segment keys uniqueness guide. If there's anything we can help you with, please get in touch at support@lingohub.com.