As I am curious, I tried the given script using a list of localized color names.
It’s easy to get these names:
set theNames to {}
repeat with i from 0 to 7
set theKey to ("TG_COLOR_" & i)
tell application "Finder" to set theName to localized string theKey
set end of theNames to {theKey, theName}
end repeat
theNames
--> {{"TG_COLOR_0", "Aucune couleur"}, {"TG_COLOR_1", "Gris"}, {"TG_COLOR_2", "Vert"}, {"TG_COLOR_3", "Violet"}, {"TG_COLOR_4", "Bleu"}, {"TG_COLOR_5", "Jaune"}, {"TG_COLOR_6", "Rouge"}, {"TG_COLOR_7", "Orange"}}
I edited the choose from list instruction as :
set tagList to choose from list {"Rouge", "Orange", "Jaune", "Vert", "Bleu", "Gris", "Violet"} with title "Tag Selected Items" with prompt "Choose colors:" OK button name "Apply" cancel button name "Cancel" with multiple selections allowed and empty selection allowed
Good point, we may use the English names or the localized ones, the behavior will be the same.
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) mardi 14 mai 2019 18:35:11