.plist file strings

Hi, We’re having some issues with the translation files on VLC.
Apparently both key and value are presented as strings for translations.
Example:

		<dict>
			<key>IntentName</key>
			<string>INSearchForMediaIntent</string>
			<key>IntentExamples</key>
			<array>
				<string>Search for Jacques Brel in VLC</string>
			</array>
		</dict>

Both strings in <string> tags are marked for translation, we just need the second one, is there a way to do it?

This is the issue I opened in VLC:

Thank you!

Hello @yaron

I hope you are doing well.
If I understood correctly, you wish your translators to work only in the second string. If this is right, then you could check our ARTICLE on HOW TO “Prevent Translations” As a quick solution I would try the “notranslate” tag.
First go to your organization settings → Translation Checks → Click on file format and set the “notranslate” settings to “Error” → SAVE.

Now, go to the string you wish to lock, Select the string and hit “Edit Context” from the “Context” TAB:

Now, on the tags section add your “notranslate” stage and hit save:

Try to translate the string, if you set up everything correctly the system should return an error and translation will not be saved:

Please let me know if the above helps or if you encounter any further issues :slight_smile:
Best Regards
Cesar

Seems like a reasonable solution, we’ll try to see if there’s anything we can do on the source file side, thanks!

Let me know if you encounter any further issues :slight_smile:

Best Regards
Cesar

1 Like