Help needed for start page
bruno.patri at gmail.com
Wed Nov 5 15:01:22 GMT 2008
Le Wednesday 05 November 2008 00:26:18 Matthew Nuzum, vous avez écrit :
> <Sorry for delay, I started this yesterday afternoon but the power in
> my house went out and I got kicked offline for several hours - by then
> it was bed time>
> 2008/10/30 Gabor Kelemen <kelemeng at gnome.hu>:
> > Perhaps a silly idea, but what is your locale?
> > Running LANG=en_US.utf8 ./localize.sh generated good looking html's for
> > me with several translations mailed previously to this list.
> > See them here:
> > http://delfin.unideb.hu/~kg0021/start/
> $ env | grep -i lang
> I've also tried adding -utf8 to the tidy call. Using ru as an example I
> title>Ð"Ð¾Ð¼Ð°ÑˆÐ½ÑÑ ÑÑ‚Ñ€Ð°Ð½Ð¸Ñ†Ð° Ubuntu</title>
This is because po2html.py use tidy with acsii encoding as default option.
I fixed this bug by adding a missing argument in po2html.py, here's the modified
You should overwrite /usr/share/pyshared/translate/convert/test_po2html.py
with the new script, and regenerate HTML files with your localise.sh script.
I've tested it and it works fine.
< htmlresult = str(tidy.parseString(htmlresult))
> htmlresult = str(tidy.parseString(htmlresult,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4456 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-translators/attachments/20081105/53ac64e2/attachment-0001.py
More information about the ubuntu-translators