office-gobmx/l10ntools/layout
2011-04-19 20:42:51 +02:00
..
layoutparse.cxx Merge commit 'ooo/DEV300_m101' into intm101 2011-03-11 14:24:23 +01:00
layoutparse.hxx Merge commit 'ooo/DEV300_m101' into intm101 2011-03-11 14:24:23 +01:00
loc.sdf
makefile.mk Clean up makefiles 2011-02-01 17:58:55 +01:00
README
tralay.cxx remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (libs-gui) 2011-04-19 20:42:51 +02:00
zoom.xml

Tralay - Extract and translate strings in Layout xml files.

Translatable strings in layout xml files are attributes that have name
which starts with an underscore, eg

    _title="Set Zoom"
    _label="Whole Page"

Here is how it works

 * Extract: generate out.sdf
      ../unxlngx6.pro/bin/tralay -l en-US zoom.xml > out.sdf

 * Translate: do:
      cat out.sdf > trans.sdf
      sed 's/en-US\t/de\tde:/' out.sdf >> trans.sdf 

 * Merge: translate
     ../unxlngx6.pro/bin/tralay -m trans.sdf -l de zoom.xml > zoom-DE.xml

Running

   dmake test

does something similar.