extendscript-library icon indicating copy to clipboard operation
extendscript-library copied to clipboard

add a translation module

Open bastienEichenberger opened this issue 8 years ago • 1 comments

Write a module to translate string and load translations files

bastienEichenberger avatar Dec 06 '17 07:12 bastienEichenberger

$.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()));

bastienEichenberger avatar Dec 10 '17 09:12 bastienEichenberger