diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-25 17:20:55 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-25 17:20:55 +0100 |
commit | 8316671089f33c8aba5c5e72348854de16df9379 (patch) | |
tree | d20ca98095d66dc11dadffd5dd83c6b8e59dd6d3 /l10ntools/layout/README | |
parent | 54311d2499a8502ea3a827347992c2f4d6e40d31 (diff) |
l10ntools: #i108657# rename transex3 to l10ntools
Diffstat (limited to 'l10ntools/layout/README')
-rw-r--r-- | l10ntools/layout/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/l10ntools/layout/README b/l10ntools/layout/README new file mode 100644 index 000000000000..1838e2a94ba0 --- /dev/null +++ b/l10ntools/layout/README @@ -0,0 +1,27 @@ +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. + +
\ No newline at end of file |