Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A converter utility in C++for converting xbmc language xmls to po and potfiles.
C C++
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
vc_project fixed: windows Build
tinystr.h added: initial version with basic converting from xml to pot
tinyxml.cpp fixed: preserve whitespace setting to match xbmc internal parser
tinyxmlerror.cpp added: initial version with basic converting from xml to pot
tinyxmlparser.cpp added: ability to handle multi-line xml comments and ones placed righ…
xbmc-xml2po.kdev4 added: initial version with basic converting from xml to pot


XBMC-XML2PO 0.96 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

The source directory for addons should be where the addon.xml file exists
For core language file, use the main xbmc source tree as a directory

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\"

With any issues, please report to

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.
0.95 - Handle new format (id in msgctx field) PO files, reverted line breaking
0.96 - Parsing of addon.xml file to automatic get of project data
       Handling of addons with no translatable files
       Processing language files in alphabetical order
Something went wrong with that request. Please try again.