Difference between revisions of "Localization"

From Avogadro - Free cross-platform molecule editor
Jump to: navigation, search
m
Line 1: Line 1:
 
==Launchpad==
 
==Launchpad==
  
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 development repository for new releases.
  
==Merging Launchpad PO Files==
+
There are two translation template. One (the "libavogadro" template) is for the core Avogadro library, main extensions, tools, and other plugins. The other is for the Avogadro application.
 
 
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==
 
 
 
# Checkout subversion: <code>svn co https://avogadro.svn.sourceforge.net/svnroot/avogadro/trunk avogadro</code>
 
# Create a build directory: <code>cd avogadro && mkdir build</code>
 
# Populate the build directory: <code>cmake ..</code>
 
# Update the translation files: <code>make update-translations</code>
 
# Use Qt Linguist to edit the translations, located in the <code>i18n</code> directory.
 
  
 
[[Category:Developer]]
 
[[Category:Developer]]

Revision as of 13:20, 24 May 2009

Launchpad

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

There are two translation template. One (the "libavogadro" template) is for the core Avogadro library, main extensions, tools, and other plugins. The other is for the Avogadro application.