I just looked at it. If you just need to do something to do some of the grunt work, and you're already on OsX, you can use xsltproc and this simple xsl to get you going
xsl:
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="string"> "<xsl:value-of select="@name"/>"= "<xsl:apply-templates/>"; </xsl:template> <xsl:template match="resources"> <xsl:apply-templates select="string"/> </xsl:template> </xsl:stylesheet>
Save this in a file, transform.xsl or something like that, then from the shell, run the following:
xsltproc transform.xsl your_android_strings.xml> fileforxcode.out
It seemed like it created something that looked right, although you might have to guess with any format lines separately. Regardless, this can save you some work.
user655489
source share