I want to set text via VisualBasic. The text shall apply the OpenType feature locl with Afrikaans as appliedlanguage (the glyph combination apostrophe + n will be substituted to napostrophe in Afrikaans only). My problem is, that I am using a German InDesign, which doesn't list Afrikaans in its InDesign.LanguagesWithVendors.
I have 2 questions:
1. How can I get a list of ALL languages (Id, Name, IcuLocaleName) beyond my German InDesign?
2. Can I apply a language not listed in my InDesign to text?
Moved to the scripting forum.....
Afrikaans might not be in the initially supported languages. Google took me here:
If you got it installed and applied (big IF here), export a snippet and have a look at the modified properties / overrides, e.g. to determine the language code. Maybe "za_AF"?
You'll end up at the VBScript equivalent to
app.selection.texts.item(0).otfLocale = true;
Note that above works because Arabic is already supported but hidden in German InDesign.
Edit: added InDesign secrets link