Difference between revisions of "Localization"

From Avogadro - Free cross-platform molecule editor
Jump to: navigation, search
m
Line 2: Line 2:
  
 
You can use the online [https://translations.launchpad.net/avogadro Rosetta Launchpad] tool to help translate Avogadro. These translations are periodically collected and merged into the SVN repository for new releases.
 
You can use the online [https://translations.launchpad.net/avogadro Rosetta Launchpad] tool to help translate Avogadro. These translations are periodically collected and merged into the SVN repository for new releases.
 +
 +
==Merging Launchpad PO Files==
 +
 +
After downloading files from Launchpad, you need to use the [http://translate.sourceforge.net/wiki/toolkit/ts2po po2ts] program to convert to ts files. These can then be added to SVN and should be picked up for installation as part of the build environment. This should happen as part of the release process.
  
 
==Qt Linguist==
 
==Qt Linguist==

Revision as of 11:08, 4 June 2008

Launchpad

You can use the online Rosetta Launchpad tool to help translate Avogadro. These translations are periodically collected and merged into the SVN repository for new releases.

Merging Launchpad PO Files

After downloading files from Launchpad, you need to use the po2ts program to convert to ts files. These can then be added to SVN and should be picked up for installation as part of the build environment. This should happen as part of the release process.

Qt Linguist

  1. Checkout subversion: svn co https://avogadro.svn.sourceforge.net/svnroot/avogadro/trunk avogadro
  2. Create a build directory: cd avogadro && mkdir build
  3. Populate the build directory: cmake ..
  4. Update the translation files: make update-translations
  5. Use Qt Linguist to edit the translations, located in the i18n directory.