How to get "Locale" subfoler for Text / Grep search queries?
This is an example of the full path to the saved XML files with Text Search Queries - for GREP / Color / Glyph / Object it's the same:
C:\Users\[user_name]\AppData\Roaming\Adobe\InDesign\Version 18.0\en_GB\Find-Change Queries\Text\
The 18.0 part is easy - can be extracted from Application.Version - but en_GB isn't...
There is an Application.Locale:
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Locale.html
but it's just a number.
My current value is:
Locale.INTERNATIONAL_ENGLISH_LOCALE
International English.
1279477097
But from this:
https://www.localeplanet.com/icu/
there can be a lot of combinations...
Anyone knows how to get CURRENT / ACTIVE en_GB?
