A converter utility in C++for converting xbmc language xmls to po and potfiles.
C C++
Pull request Compare This branch is 13 commits behind alanwww1:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vc_project
CharsetUtils.cpp
CharsetUtils.h
Makefile
README
dirent.h
tinystr.cpp
tinystr.h
tinyxml.cpp
tinyxml.h
tinyxmlerror.cpp
tinyxmlparser.cpp
xbmc-xml2po.cpp
xbmc-xml2po.kdev4
xbmclangcodes.h

README

XBMC-XML2PO 0.9 by Team XBMC 2012

This command-line utility is for converting XBMC strings.xml files into strings.po
and strings.pot files used from XBMC Frodo and can be used directly in
any web based community driven translation system, like Transifex.

Usage: xbmc-xml2po -s <sourcedirectoryname> (-p <projectname>) (-v <version>)
 -s <name> for source root language directory, which contains the language dirs
 -p <name> for project name, eg. xbmc.skin.confluence
 -v <name> for project version, eg. FRODO_GIT251373f9c3
 
Note for Windows users: In case you have whitespace or any special character
in any of the arguments, please use apostrophe around them. For example:
xbmc-xml2po.exe -s "C:\xbmc dir\language" -p xbmc.core -v Frodo_GIT

Or just copy the xbmc-xml2po.exe file into your source tree and run for example:
xbmc-xml2po.exe -s language -p xbmc.core -v FRODO_GIT

With any issues, please report to alanwww1@xbmc.org

Version History:
0.8 - Initial version, working on Linux, Windows with batch convert capabilities
0.9 - Addded automatic conversion to utf8, format long lines with breaking them,
      write plural form into language file.