Name Date Size #Lines LOC

..18-Oct-2019-

READMEH A D18-Oct-2019580 2716

layoutparse.cxxH A D18-Oct-20194.3 KiB13292

layoutparse.hxxH A D18-Oct-20191.5 KiB4817

loc.sdfH A D18-Oct-20192.2 KiB2524

makefile.mkH A D18-Oct-20191.8 KiB7432

tralay.cxxH A D18-Oct-201911.8 KiB396328

zoom.xmlH A D18-Oct-20192.8 KiB6136

README

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