Skip to main content
Known Participant
September 1, 2009
Answered

Localization

  • September 1, 2009
  • 1 reply
  • 4111 views

Dear All,
I would like to have a UI that supports all languages. Will the SDK plugin localization support any language like Arabic (left to right languages), Chinese (pictographic languages), etc? Or are there any list of languages that localization supports?

Thanks

This topic has been closed for replies.
Correct answer Steven__

Thanks for your information. I have another doubt. What does the below statement do?

PMLocaleId nLocale = LocaleSetting::GetLocale();

1. Will it get the language of the InDesign or Will it get the language of the OS?

2. Also, if I want to test my plugin UI in Arabic language What should I do? (currently I have my OS and InDesign in English ). Do I need to chage the language of my OS to Arabic or Do I need to install the InDesign in Arabic language? I have Arabic strings defined in a resouce file in my plugin program and I want this to be tested so that I can see how the Arabic strings are displayed in the UI.

Thanks


1) Gets Language Of InDesign. 2) Change Should Be Made In

Mapping Of Language To File In Main Fr File In LocaleIndex For

KSDKDefStringResourceId See Basic Localization Sample

1 reply

Steven__
Inspiring
September 1, 2009

Here is the list from WLocaleIds.h

#define k_enUS                    0x0001     //English #define k_enGB                    0x0002     //UK English #define k_deDE                    0x0003     //German #define k_frFR                    0x0004     //French #define k_jaJP                    0x0005     //Japenese #define k_esES                    0x0006     //Spanish #define k_ptBR                    0x0007     //Brazilian Portuguese #define k_svSE                    0x0008     //Swedish #define k_daDK                    0x0009     //Danish #define k_nlNL                    0x000a     //Dutch #define k_itIT                    0x000b     //Italian #define k_noNO                    0x000c     //Norwegian #define k_fiFI                    0x000d     //Finnish #define k_elGR                    0x000e     //Greek #define k_csCZ                    0x000f     //Czech #define k_plPL                    0x0010     //Polish #define k_hrHR                    0x0011     //Croatian #define k_huHU                    0x0012     //Hungarian #define k_ruRU                    0x0013     //Russian #define k_skSK                    0x0014     //Slovak #define k_sqAL                    0x0015     //Albanian #define k_trTR                    0x0016     //Turkish #define k_roRO                    0x0017     //Romanian #define k_bgBG                    0x0018     //Bulgarian #define k_beBY                    0x0019     //Belarussian #define k_etEE                    0x001a     //Estonian #define k_lvLV                    0x001b     //Latvian #define k_ltLT                    0x001c     //Lithuanian #define k_slSL                    0x001d     //Slovenian #define k_ukUA                    0x001e     //Ukrainian #define k_heIL                    0x001f     //Hebrew #define k_arAE                    0x0020     //Arabic #define k_zhCN                    0x0021     //Chinese Simplified #define k_zhTW                    0x0022     //Chinese Traditional #define k_koKR                    0x0023     //Korean #define k_taIN                    0x0024     //Tamil #define k_thTH                    0x0025     //Thai #define k_viVN                    0x0026     //Vietnamese

Many times besides customizing strings, it becomes neccesary to customize dialog also leading to increase in size of plugin. If you add all these languages your plugin will be quite large. Good Luck

September 2, 2009

It was helpful

thanks

THAMIL