[Sugar-devel] reading and writing translatable strings

Jonas Smedegaard dr at jones.dk
Sun Jul 12 06:37:53 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sun, Jul 12, 2009 at 03:43:58PM +0545, Bryan Berry wrote:
>Subzero,
>
>I have figured out how to read the strings from an html file, at least 
>somewhat:
>
>utils/narwhal/bin/narwhal source.html output.pot
>
>generates a .pot file from the strings in one html file


If you seek a reliable way to handle translation of html, then I warmly 
recommend po4a:

http://po4a.alioth.debian.org/

I wrote the Markdown extension of the text parser of that tool ;-)


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCgAGBQJKWb0BAAoJECx8MUbBoAEh8AcP/RKi23MHiJvNX0ivhRTlrR6U
WqLMhrk6pcX45lY4F95oesQN8koQXOv1yyMRco4QWbu6K0dAI68Exhv3PJOPLAt6
uGkwb/TOH8XlVj6u5V37DsW5jZMarZtOgoea93mHAvLhUVbzwcluV4r97r6+kLhP
TZHgmj2oSPQJNw5sGK+96zs30QqS6SIjJZ12Tzw4IPXMPGReVInE6kqp9XvDthUt
afjNhx2O3i2e73j02XOROY7y8xlJM9FzMyMZObkAt0g/RUokU7RlMpyKoHzjU/9P
sjHkoKQ+awmLVdOA86FEJ2hT1d10HYTKbG4NObMt06PNhL+0ENFGlp8BPlUH2gt6
yE8fCjSFeCzFpNEDksWjQkbfLV6a1LOiM/Cq0trDn9YChy7Cwzrdg1RyzHrgTA/T
7ARteNPmJCN86lvTp+kXLp0yyqWJNF59kJNrNd1CoKS/STYNCJfnVuzBkxUS42jY
lJixzP2XndfYMonWv4t6dYtSfRnTqo4HuEsMdeXxsh4vNkLR2a2rXGrpxYrqAOjK
bOFObKwLo/1uDxhjhzdkeHr38iBXIjlH2iI0g7CI4EJMYSFq2S5MTVYrmj7uAK/f
KeDxPOEyAu6/Vel3/ec01zzcwlB5KwzSKuElnw2z9QyeGTyYH9ucCc2OQrOSNZVH
ucjJEfp6GN5miU3V0uBy
=r1Hq
-----END PGP SIGNATURE-----


More information about the Sugar-devel mailing list