Skip to main content
Participating Frequently
September 19, 2007
Question

How to add localized (english, french, etc) metadata

  • September 19, 2007
  • 2 replies
  • 536 views
I found that i can access localized versions of an image metadata tag with Bridge scripting.
This is great, except i don't know how to add different language tags in Bridge.
I am exporting the metadata to an xml file and it would be great if i could have the title tag in two or three different languages.

Thank you

Balint
This topic has been closed for replies.

2 replies

Participating Frequently
September 19, 2007
Thanks Chanandler, it is clear now.

I was wondering if it's possible to add the localized tags through the basic Bridge UI (without scripting)?

Thank you for the help

Balint
Participating Frequently
September 19, 2007
Hi,

You can add localized text via the XMPScript API. Use SetLocalizedText() on the alt-text property. For example:

xmp.setLocalizedText(XMPConst.NS_DC, "title", "en", "en-US", "SomeEnglish);

xmp.setLocalizedText(XMPConst.NS_DC, "title", "fr", "fr-FR", "SomeFrench");

If you always supply both the generic, fr, and specific, fr-FR, tags then you should have no problems and a new entry will be added to the array unless there is already an exact match - in which case you would modify the entry.

Hope that makes sense.