yaml2po is a script for converting YML or YAML translation files to Gettext PO or POT
po2yaml is a script for converting to Gettext PO to YML or YAML translation files
Developed from the homonymous scripts found in http://git.openstreetmap.org/rails.git/tree/HEAD:/script/locale
- Create a POT from a given YML file
$ yaml2po.rb -b en.yml -i de.yml -o de.pot
- Create a language's PO from a given YML file
$ yaml2po.rb -b en.yml -i de.yml -o de.po
- Create a language's YML from a given PO file
$ po2yaml.rb -i en.po -o en.yml
This software is licensed under the GNU General Public License 2.0 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt), a copy of which can be found in the LICENSE file.