• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Localized Values for Label Tag

New Here ,
Dec 16, 2024 Dec 16, 2024

Copy link to clipboard

Copied

Is there a list anywhere of the defalut values LR will set in the Label tag for the support colors? 

 

We need to process images programatically based on the color tag, but we get different values in the Label tag based on the user's OS language settings, so trying to track down a list of all the values LR sets by default for each color in each supported language (e.g. Blue, Bleu, Azul).

TOPICS
macOS , Windows

Views

86

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 16, 2024 Dec 16, 2024

You can see the underlying problem by setting the Metadata > Color Label Set to Lightroom Standard (though you can't assume the other person has done this).  First, let's assume LR is working in German, so selecting an image and pressing 9 adds "Blau" (from the LR Standard in German) in the label field and the colour label is  displayed as blue. Now set LR's language to English and restart LR - the text "Blau" remains in the label field but the colour label isn't blue because now "blau" doesn't

...

Votes

Translate

Translate
Community Expert ,
Dec 16, 2024 Dec 16, 2024

Copy link to clipboard

Copied

Metadata > Color Label Set. This translates the text that is in Label into one of the 5 colours.

 

Note that you can type whatever you want into the Label field - literally anything. A colour only appears if that text corresponds to the current Color Label Set.

 

So don't program for the Blau, Blue or whatever. Program for the text that is entered in that field.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2024 Dec 16, 2024

Copy link to clipboard

Copied

Thanks John.

 

Our need is that we have hundreds of photogrpahers in dozens of countries submitting files they tag with with star and color values to tell us what to do with the images. We are trying to avoid depending on people creating custom tag sets, so we want to just take the default values that LR sets in the tags for stars and colors.

 

For Stars, no issue as the number values come through the same for everyone. But with colors, we get the localized value for each language LR supports. So, we are working to do the mapping from all the standard values LR will put in the Label tag for a given color. I'm HOPING Adobe publishes that somewhere do we don't have to build the mappings ourselves by selectting all of teh supported languages, setting each of the 6 color tags, and then looking to see what ends up in the Lable tag...

 

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2024 Dec 16, 2024

Copy link to clipboard

Copied

You can see the underlying problem by setting the Metadata > Color Label Set to Lightroom Standard (though you can't assume the other person has done this).  First, let's assume LR is working in German, so selecting an image and pressing 9 adds "Blau" (from the LR Standard in German) in the label field and the colour label is  displayed as blue. Now set LR's language to English and restart LR - the text "Blau" remains in the label field but the colour label isn't blue because now "blau" doesn't match  anything in colorNameForLabel.

 

Each language's translations are inside the LR application in a file called something like TranslatedStrings_Lr_it_IT.txt etc. So you could programatically import each language and find the text string for the labels.

 

"$$$/AgLibrary/Menu/Collection/Label/Blue=Blu"
"$$$/AgLibrary/Menu/Collection/Label/Green=Verde"
"$$$/AgLibrary/Menu/Collection/Label/None=Nessuna"
"$$$/AgLibrary/Menu/Collection/Label/Purple=Viola"
"$$$/AgLibrary/Menu/Collection/Label/Red=Rosso"
"$$$/AgLibrary/Menu/Collection/Label/Yellow=Giallo"

 

But if someone enabled a different Color Label Set when they hit 9 and added a blue label, then 9 could enter "xyz" into the Label field if that waas how the Color Label Set was set up.

 

I hope I've explained this well. It's complicated, or should that be messy? In a multi-user multi-language environment, t's not very disciplined.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 24, 2024 Dec 24, 2024

Copy link to clipboard

Copied

LATEST

Thanks - got exactly what I needed from the translation files!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines