Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to do localization

New Here ,
Jun 01, 2009 Jun 01, 2009

When I  do localization for illustrator plug-in on Windows, I found the method now I can use is generating one plug-in for each language. I only wan to create one plug-in which can link many language resources. If  system language changes, the plug-in can auto load appropriate language resource.I can't find more information  about localizaiton in illustrator SDK, what I found is IAILocale.h,but it seems that not enough...

TOPICS
SDK
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Jun 01, 2009 Jun 01, 2009

I'm afraid I don't know much about how localization is done with the Adobe API. I know they use string table resources on Windows, but that's about it. We use a 3rd party library to support localization so I don't think I'll be much help for you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 02, 2009 Jun 02, 2009

Thanks, I learn moreform your answer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2009 Jun 17, 2009

Hi,

Under Windows, that's easy. You just have to specify the various 'LANGUAGE' in the .RC file. So you end up with one plug-in for all languages. MS IDE will let you manage the languages easilly. You don't have to change one line of code, provided you fetch all localized dialogs, menus, strings... from resources.

Hope this helps.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 08, 2013 Mar 08, 2013

Could you be more specific about how MS will let us manage the languages easily?

How can you we set conditions correctly to use the right language?

Thx, Thomas.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 07, 2013 Jun 07, 2013
LATEST

I have finally found a solution working pretty well for both Mac os X and Windows.

I'm not using resources stuff.

this is how I make it work:

On plugin start up , I need to check application locale ID.

Then I load the correct translation file (txt, xml or whatever you want).

Finally, I get my trnaslations using a third party libraries I've made.

So, no need to specify if code is running under Mac os X or Windows.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines