Copy link to clipboard
Copied
Hello!
I was planning to create a Hyphenator plugin for InDesign for the Uzbek language. But I can't find the language ID for Uzbek language in LanguageID.h file There are only sublanguages for Cyrillic and Latin.
There is also no Uzbek language in list of interface languages in the InDesign program.
Copy link to clipboard
Copied
I'm not sure about SDK - perhaps @Manan Joshi might be able to help
Copy link to clipboard
Copied
Hi @Ruslan Chodoev,
I see two things in the file which could provide you some direction to investigate. One is the following comment
If the language id you need is not defined here use MakeLanguageID( kLanguageUseICULocale, kSubLanguageDefault )
and Call ILanguage::SetICULocale with the ICULocale for your language.
Then in the primary language id segment see
#define kLanguageUseICULocale 92 /* IDs for languages without an ID above. Uses locale id in ILanguage to sort and do case conversion */
What this means is that this has been the design and the SDK designers did know that they are not adding in an exhaustive list of language and tried to provide a way out of that. Let us know if this helps or not.
-Manan