xref: /aoo42x/main/l10ntools/layout/README (revision cdf0e10c)
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