LocalizableString: string | StringTable

A type to represent a localizable string.

The value may be either a string or an object. If you supply a string, that string is used. If you supply a StringTable object, PopClip will display the string for the user's preferred language if possible, with fallback to the en string.

Example

option.label = "Color" // just use this string
option.label = { en: "Color", "en-GB": "Colour", fr: "Couleur", "zh-Hans": "颜色" }