This content has been marked as final.
Show 2 replies
-
1. Re: [js] Set the language
Harbs. May 3, 2009 2:07 PM (in response to GunIva)This should do the job...
var swedish = GetLanguage("Swedish"); myStory.appliedLanguage = swedish; function GetLanguage(name){ var lang=app.languagesWithVendors; for(i=0;i<lang.length;i++){ if(lang[i].name==name){return lang[i]} } return null; }Harbs
-
2. Re: [js] Set the language
GunIva May 3, 2009 11:47 PM (in response to Harbs.)Thank you Harbs, that did the job, it turned out that in CS4 the language param is localized so I only had to change from Swedish to Svenska.


