office-gobmx/l10ntools/layout
2010-11-22 17:56:15 +01:00
..
layoutparse.cxx Add vim/emacs modelines to all source files 2010-10-14 17:02:15 +02:00
layoutparse.hxx Add vim/emacs modelines to all source files 2010-10-14 17:02:15 +02:00
loc.sdf
makefile.mk Finally, gut the vos module out of the build 2010-10-25 19:55:38 -05:00
README
tralay.cxx RTL_CONSTASCII_USTRINGPARAM in libs-gui 04 2010-11-22 17:56:15 +01: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.