Localizing an extension
Use the following techniques to make it easier to translate your extensions into local languages.
- Separate extensions into HTML and JavaScript files. The HTML files can be replicated and localized; the JavaScript files are not localized.
- Do not define display strings in the JavaScript files (check for alerts and UI code). Extract all localizable strings into separate XML files in the Adobe Dreamweaver Configuration/Strings folder.
- Do not write JavaScript code in the HTML files except for required event handlers. This eliminates the need to fix a bug multiple times for multiple translations after the HTML files are replicated and translated into other languages.