1*b1cdbd2cSJim JagielskiTralay - Extract and translate strings in Layout xml files. 2*b1cdbd2cSJim Jagielski 3*b1cdbd2cSJim JagielskiTranslatable strings in layout xml files are attributes that have name 4*b1cdbd2cSJim Jagielskiwhich starts with an underscore, eg 5*b1cdbd2cSJim Jagielski 6*b1cdbd2cSJim Jagielski _title="Set Zoom" 7*b1cdbd2cSJim Jagielski _label="Whole Page" 8*b1cdbd2cSJim Jagielski 9*b1cdbd2cSJim JagielskiHere is how it works 10*b1cdbd2cSJim Jagielski 11*b1cdbd2cSJim Jagielski * Extract: generate out.sdf 12*b1cdbd2cSJim Jagielski ../unxlngx6.pro/bin/tralay -l en-US zoom.xml > out.sdf 13*b1cdbd2cSJim Jagielski 14*b1cdbd2cSJim Jagielski * Translate: do: 15*b1cdbd2cSJim Jagielski cat out.sdf > trans.sdf 16*b1cdbd2cSJim Jagielski sed 's/en-US\t/de\tde:/' out.sdf >> trans.sdf 17*b1cdbd2cSJim Jagielski 18*b1cdbd2cSJim Jagielski * Merge: translate 19*b1cdbd2cSJim Jagielski ../unxlngx6.pro/bin/tralay -m trans.sdf -l de zoom.xml > zoom-DE.xml 20*b1cdbd2cSJim Jagielski 21*b1cdbd2cSJim JagielskiRunning 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim Jagielski dmake test 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielskidoes something similar. 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski