3 Replies Latest reply on Sep 6, 2016 11:50 PM by Tom Ruark

    change language

    Level 1

      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?

        • 1. Re: change language
          JJMack Most Valuable Participant

          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.

          • 2. Re: change language
            Chuck Uebele Adobe Community Professional & MVP

            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.

            1 person found this helpful
            • 3. Re: change language
              Tom Ruark Adobe Employee

              +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

              1 person found this helpful