I'm quite new to Acrobat scripting. The last three days I managed to write a script that I was looking for for about 10 years and I'm very happy with it. Adding a menu item was fairly easy, but adding a toolbar button was not. I finally managed to do so, but the icon quality is a bit poor (I captured the image stream code via JS console from a 20 x 20 PNG – is there a better way to da that?). Anyway: It works!
Now I tried to add localization to the script which localizes the menu items, tooltips etc. I tried to localize as described here:
But it doesn't work.
Any useful hint is very welcome!
For localization you can use the value of app.language.
Just saying "it doesn't work" is not very helpful... How did you try to do
it and what were the results?
It would be very helpful if you could also post a snippet of your code that
demonstrates the problem, as well as a description of how you determine
which locale to use (are you using the application's language, the
document's language, a user-selection, etc.).
On Fri, May 27, 2016 at 9:14 AM, tobias.wantzen <email@example.com>
Thanks, that's it!