[Bug 244681] New: a2ps.mo incorrect for spanish translation
https://bugzilla.novell.com/show_bug.cgi?id=244681 Summary: a2ps.mo incorrect for spanish translation Product: openSUSE 10.3 Version: Alpha 0plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Translations AssignedTo: ke@novell.com ReportedBy: jmolles@vodafone.es QAContact: ke@novell.com Hi all: I see that there are errors with any words in a2ps.mo,like: página I see PA~!gina (page in english) When I print with a2ps the programs print this errors on paper. I'm not sure this is a bug but I'd like that somebody would correct it. Thanks and regards -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@novell.com |werner@novell.com ------- Comment #1 from ke@novell.com 2007-02-13 02:19 MST ------- on 10.2 the a2ps.mo file is fine. And it is the same on 10.3-pre. You can check this using msgunfmt -o - /usr/share/locale/es/LC_MESSAGES/a2ps.mo | msgconv the msg* tools are part of the gettext-devel package. Werner, can you help with this issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@novell.com, mfabian@novell.com Severity|Normal |Minor Status|NEW |NEEDINFO Info Provider| |jmolles@vodafone.es ------- Comment #2 from werner@novell.com 2007-02-13 02:53 MST ------- There was no change since 2000/03/08 within a2ps. IMHO the error is caused during transformation from latin1 (aka es_ES.ISO-8859-1) to UTF-8 (aka aka es_ES.UTF-8). Or the reporter uses UTF-8 character code on an latin1 terminal. @Chema: What does the command line msgunfmt -o - /usr/share/locale/es/LC_MESSAGES/a2ps.mo | msgconv | \ iconv -f ISO-8859-1 -t UTF-8 show on your terminal? If you see the out from your report you're are using an terminal for latin1 (8bit characters only) with UTF-8 multibyte output. This can not work. Please choose a correct locale for such terminals, e.g. es_ES@euro or es_ES.ISO-8859-15 or es_ES.ISO-8859-1). On the other hand you may want to use a real UTF-8 terminal which would be able not only to show spanish but e.g. also russian and chineese letters due multibyte encoding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|jmolles@vodafone.es | Resolution| |INVALID ------- Comment #3 from mfabian@novell.com 2007-02-13 09:21 MST ------- This bug report is INVALID. You get the output you reported if you run a2ps in en_ES.UTF-8 locale in a terminal which is running in es_ES locale: mfabian@magellan:~$ LANG=es_ES.UTF-8 a2ps -P display /tmp/ttt [/tmp/ttt (estándar): 16 páginas en 8 hojas] [Total: 16 páginas en 8 hojas] enviado a la impresora 'display' [14 lines wrapped] mfabian@magellan:~$ If you run a2ps in es_ES locale instead in the same terminal, it works: mfabian@magellan:~$ LANG=es_ES a2ps -P display /tmp/ttt [/tmp/ttt (estándar): 17 páginas en 9 hojas] [Total: 17 páginas en 9 hojas] enviado a la impresora 'display' [17 lines wrapped] mfabian@magellan:~$ Of course running a2ps in es_ES.UTF-8 locale works as well *if* your terminal is correctly setup for UTF-8. The locale a2ps is running in has to match the locale the terminal is running in. I.e. you have somehow messed up your setup. → INVALID. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #4 from jmolles@vodafone.es 2007-02-13 15:22 MST ------- Created an attachment (id=118977) --> (https://bugzilla.novell.com/attachment.cgi?id=118977&action=view) msgunfmt -o - /usr/share/locale/es/LC_MESSAGES/a2ps.mo..bla,bla,bla -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #5 from jmolles@vodafone.es 2007-02-13 15:23 MST ------- Hi all, First step: msgunfmt -o - /usr/share/locale/es/LC_MESSAGES/a2ps.mo | msgconv | \ iconv -f ISO-8859-1 -t UTF-8 -> I send with attachment p.log Second: echo $LANG -> es_ES.UTF-8 LANG=es_ES.UTF-8 a2ps -P display vlc.help [vlc.help (estándar): 28 páginas en 14 hojas] sh: gv: command not found [Total: 28 páginas en 14 hojas] enviado a la impresora 'display' [159 lines wrapped] LANG=es_ES a2ps -P display vlc.help [vlc.help (est�dar): 28 p�inas en 14 hojas] sh: gv: command not found [Total: 28 p�inas en 14 hojas] enviado a la impresora 'display' [159 lines wrapped] I write this on konsole and I see is completely on the contrary that Mr.Fabian found I'm sorry but I don't understand where is my error Thanks and regards -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #6 from jmolles@vodafone.es 2007-02-13 15:39 MST ------- I change the codification of my konsole from utf-8 to iso-8859-1 and iso-8859-15 and obtain the same result with PA~!gina (page in english) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #7 from mfabian@novell.com 2007-02-13 15:45 MST ------- First step: msgunfmt -o - /usr/share/locale/es/LC_MESSAGES/a2ps.mo | msgconv | \ iconv -f ISO-8859-1 -t UTF-8 -> I send with attachment p.log After the "msgconv", the result is already in UTF-8 because you are apparently running in es_ES.UTF-8 locale. "msgconv" converts into the encoding of the current locale. Then you pipe it into iconv and convert it *again* from ISO-8859-1 to UTF-8. The result is the doubly converted broken file which you have attached. Chema Ollés> I'm sorry but I don't understand where is my error Please note that bugzilla should not be misused for free support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #8 from mfabian@novell.com 2007-02-13 15:54 MST -------
Second: echo $LANG -> es_ES.UTF-8
I.e. your terminal is running in es_ES.UTF-8.
LANG=es_ES.UTF-8 a2ps -P display vlc.help [vlc.help (estándar): 28 páginas en 14 hojas] sh: gv: command not found [Total: 28 páginas en 14 hojas] enviado a la impresora 'display' [159 lines wrapped]
Now the locale of the a2ps command matches the locale of the terminal and the shell, therefore it works.
LANG=es_ES a2ps -P display vlc.help [vlc.help (est�dar): 28 p�inas en 14 hojas] sh: gv: command not found [Total: 28 p�inas en 14 hojas] enviado a la impresora 'display' [159 lines wrapped]
Now the locale of the a2ps command does *not* match the locale of the terminal and the shell, therefore it does not work.
I write this on konsole and I see is completely on the contrary that Mr.Fabian found
Yes, because you started your terminal in es_ES.UTF-8 locale and I started it in es_ES locale. I only started it in es_ES locale to demonstrate what happens. I do *not* recommend to prefer es_ES over es_ES.UTF-8. To the contrary, I recommend that you always use es_ES.UTF-8 everywhere. Then you will not have such problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244681 ------- Comment #9 from jmolles@vodafone.es 2007-02-13 16:15 MST ------- OK,I'm sorry.You have a reason when say me that this is not for support. Regards -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com