Difference between revisions of "Internationalisation/Translating html files"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) ((new) How to translate html files for the app) |
AngelHerraez (talk | contribs) |
||
Line 1: | Line 1: | ||
− | Several pieces of the Jmol application (like the ''About Jmol'' | + | Several pieces of the Jmol application (like the ''About Jmol'' dialog and the ''Export to Web'' help, instructions and templates) are written as html files. |
− | For these, we do not use the standard way of ; instead, translators need to prepare translated copies of the html files. | + | For these, we do not use the standard way of translation; instead, translators need to prepare translated copies of the html files. |
+ | |||
+ | '''Procedure:''' | ||
+ | |||
+ | # Locate the relevant files. Examples: | ||
+ | #* Files for "About Jmol" dialog are in <code>org/openscience/jmol/app/</code> | ||
+ | #* Files for "Export to Web" module are in <code>org/openscience/jmol/app/webexport/html/</code> | ||
+ | # Duplicate the original English files and rename them according to your language: | ||
+ | #* the file name should end in _xx.html, where "xx" is your language code (e.g. _pt.html for Portuguese, _pt-BR.html for Brazilian Portuguese) | ||
+ | # Edit the files (using a text or html editor) and translate their content. Save. | ||
+ | # Either upload the files to the SVN system (if you have the privileges to do so) or send them to one of the developers ([mailto:nicove@users.sourceforge.net nicove@users.sourceforge.net] or [mailto:Jmol-developers@lists.sf.net Jmol-developers@lists.sf.net]). |
Revision as of 12:39, 30 August 2008
Several pieces of the Jmol application (like the About Jmol dialog and the Export to Web help, instructions and templates) are written as html files.
For these, we do not use the standard way of translation; instead, translators need to prepare translated copies of the html files.
Procedure:
- Locate the relevant files. Examples:
- Files for "About Jmol" dialog are in
org/openscience/jmol/app/
- Files for "Export to Web" module are in
org/openscience/jmol/app/webexport/html/
- Files for "About Jmol" dialog are in
- Duplicate the original English files and rename them according to your language:
- the file name should end in _xx.html, where "xx" is your language code (e.g. _pt.html for Portuguese, _pt-BR.html for Brazilian Portuguese)
- Edit the files (using a text or html editor) and translate their content. Save.
- Either upload the files to the SVN system (if you have the privileges to do so) or send them to one of the developers (nicove@users.sourceforge.net or Jmol-developers@lists.sf.net).