Omer Zak
2016-04-21 06:10:01 UTC
Source: refcard
Severity: minor
Tags: upstream patch l10n
The Hebrew and Arabic layouts were fixed by the enclosed patch which is based
upon svn repository version 11118.
1. Explanations of the changes:
debian/rules
LC_ALL=en_US.utf8
Fixes the behavior of 'grep' when it deals with text with non-Latin
characters.
Without this change, 'grep' outputs 'Binary file _____ matches', causing
further operations in the build to fail.
fo.xsl
The layout for RTL languages is fine without writing-mode='rl-tb'.
he.po
All Hebrew translations were enclosed in RLE/PDF to force RTL as their
major direction.
Further fixes were made after proofreading.
ar.po
All Arabic translations were enclosed in RLE/PDF to force RTL as their
major direction.
The file needs to be proofread and more LRE/RLE/PDF characters added at
various strings.
2. Two optional files:
po_processor.py
One-shot script for processing he.po,ar.po and enclosing RTL strings
in RLE/PDF because this directionality is no longer proviced by the
templates subjected to fo.xsl.
The script was written to be idempotent, and you may want to consider
adding it to the build flow, allowing future translators not to manually
enclose new strings in RLE/PDF.
This script requires that python3 and python3-polib be added to the
package's build dependencies.
run_po_processor.sh
Runs the po_processor.py script on ar.po, fa.po (once it exists) and
he.po.
Severity: minor
Tags: upstream patch l10n
The Hebrew and Arabic layouts were fixed by the enclosed patch which is based
upon svn repository version 11118.
1. Explanations of the changes:
debian/rules
LC_ALL=en_US.utf8
Fixes the behavior of 'grep' when it deals with text with non-Latin
characters.
Without this change, 'grep' outputs 'Binary file _____ matches', causing
further operations in the build to fail.
fo.xsl
The layout for RTL languages is fine without writing-mode='rl-tb'.
he.po
All Hebrew translations were enclosed in RLE/PDF to force RTL as their
major direction.
Further fixes were made after proofreading.
ar.po
All Arabic translations were enclosed in RLE/PDF to force RTL as their
major direction.
The file needs to be proofread and more LRE/RLE/PDF characters added at
various strings.
2. Two optional files:
po_processor.py
One-shot script for processing he.po,ar.po and enclosing RTL strings
in RLE/PDF because this directionality is no longer proviced by the
templates subjected to fo.xsl.
The script was written to be idempotent, and you may want to consider
adding it to the build flow, allowing future translators not to manually
enclose new strings in RLE/PDF.
This script requires that python3 and python3-polib be added to the
package's build dependencies.
run_po_processor.sh
Runs the po_processor.py script on ar.po, fa.po (once it exists) and
he.po.