Skip to main content
tssee
Inspiring
September 3, 2016
Question

change language

  • September 3, 2016
  • 2 replies
  • 462 views

good morning

I created the dialog panels

var win = new Window("dialog", "PANEL LANGUAGE");

win.cancelOk = win.add('panel', [10,10,300,100], "");

win.cancelOk.buildBtn = win.cancelOk.add('button', [10,10,180,35], 'OPEN');

win.closeButton = win.cancelOk.add("button",  [190,10,280,35], "CLOSE");

win.text.buildBtn = win.cancelOk.add('statictext', [10,40,280,65], 'change language French, German, Russian, Polish');

win.cancelOk.buildBtn.onClick = function () {

  win.close();

 

  };

win.closeButton.onClick = function () {

  win.close();

  };

win.show();

I would like this panel when you run into photoshop of other languages

automatically changes the names of StaticText menu and bottom etc etc.

How can it be done?

This topic has been closed for replies.

2 replies

Chuck Uebele
Community Expert
Community Expert
September 3, 2016

You need to use localization. It is discussed in the JavaScript-Tools-Guide-CC. You can open some of Adobe's scripts that come with PS and see how it's done there too. I've never done it, so I don't know all the particulars about it.

Tom Ruark
Inspiring
September 7, 2016

+1 For Chuck's answer.

Specifcally, I would look at the the photoshop.jsx script and support folder found in:

C:\Program Files (x86)\Common Files\Adobe\Startup Scripts CC\Adobe Photoshop

JJMack
Community Expert
Community Expert
September 3, 2016

I do not know if it can be done.  The Creative Cloud Desktop application is used to change language for all Adobe's Installed Applications. The applications may only select which language to use when they start.  You could test this by opening PS in your Language. With PS  open and running use the CC Desktop Application and change language to some other language.  Does PS change or do you need to close down PS and restart it. If that needs to be done it be very hard to do if you ran such a script in photoshop while documents were open with changes made in some.

JJMack