extendscript-library
extendscript-library copied to clipboard
add a translation module
Write a module to translate string and load translations files
$.writeln($.locale)
today = { en: "Today is %1/%2", de: "Heute ist der %2.%1.", fr: "aujourd'hui nous sommes le %1, %2" }; d = new Date(); alert (localize (today, d.getMonth()+1, d.getDate()));