Cosmetic bug

Hi,

Here is a small one. RT uses the current GUI language when sending output to
the syslog file. This has several side effects for me :

  • Messages are sent in French, using Unicode. My syslog file is using the
    default codepage for the system, ISO, so the RT messages are quite
    unreadable.

  • If a Chinese employe was using RT (in Chinese) and complaining to me about
    a bug (no chance this happens, don’t worry, we don’t have any such employee
    :-). I would not be able to track it down through my log file as I can’t
    read chinese.

Suggested solution :

  • (Simpler) RT sends log and debug output in English/ASCII, whatever the
    current GUI language is.

  • (Nicer) A configuration parameter is added in RT_Config in order to
    specify the host default language and code page so all messages to the
    system use this configuration.

Blaise

Interesting, since I thought the logged messages weren’t wrapped in loc
calls. In fact, I only see two of them. what messages are you seeing
localized in the logfile?On Mon, Mar 03, 2003 at 10:40:25AM +0100, THAUVIN Blaise (Dir. Informatique) wrote:

Hi,

Here is a small one. RT uses the current GUI language when sending output to
the syslog file. This has several side effects for me :

  • Messages are sent in French, using Unicode. My syslog file is using the
    default codepage for the system, ISO, so the RT messages are quite
    unreadable.

  • If a Chinese employe was using RT (in Chinese) and complaining to me about
    a bug (no chance this happens, don’t worry, we don’t have any such employee
    :-). I would not be able to track it down through my log file as I can’t
    read chinese.

Suggested solution :

  • (Simpler) RT sends log and debug output in English/ASCII, whatever the
    current GUI language is.

  • (Nicer) A configuration parameter is added in RT_Config in order to
    specify the host default language and code page so all messages to the
    system use this configuration.

Blaise

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

You are right, I did not notice some messages were in english and only a few
in French

Here is the one I spoted

Mar 3 10:27:39 33PAR-Linux /dev/null: Ticket 7905 crACAC dans la queue
‘Dauphin-BO’ (/usr/local/rt3/lib/RT/Ticket_Overlay.pm:584)

This appeared while creating a ticket from the “create ticket” button on the
web interface

Also, the application name for RT is “/dev/null”. I guess I missed something
in the configuration.

Blaise

-----Message d’origine-----De : Jesse Vincent [mailto:jesse@bestpractical.com]
Envoye : lundi 3 mars 2003 10:56
A : THAUVIN Blaise (Dir. Informatique)
Cc : rt-devel@lists.fsck.com
Objet : Re: [rt-devel] Cosmetic bug

Interesting, since I thought the logged messages weren’t wrapped in loc
calls. In fact, I only see two of them. what messages are you seeing
localized in the logfile?

Hi,

Here is a small one. RT uses the current GUI language when sending output
to
the syslog file. This has several side effects for me :

  • Messages are sent in French, using Unicode. My syslog file is using the
    default codepage for the system, ISO, so the RT messages are quite
    unreadable.

  • If a Chinese employe was using RT (in Chinese) and complaining to me
    about
    a bug (no chance this happens, don’t worry, we don’t have any such
    employee
    :-). I would not be able to track it down through my log file as I can’t
    read chinese.

Suggested solution :

  • (Simpler) RT sends log and debug output in English/ASCII, whatever the
    current GUI language is.

  • (Nicer) A configuration parameter is added in RT_Config in order to
    specify the host default language and code page so all messages to the
    system use this configuration.

Blaise

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

You are right, I did not notice some messages were in english and only a few
in French

Here is the one I spoted

Mar 3 10:27:39 33PAR-Linux /dev/null: Ticket 7905 crACAC dans la queue
‘Dauphin-BO’ (/usr/local/rt3/lib/RT/Ticket_Overlay.pm:584)

Got that one.

This appeared while creating a ticket from the “create ticket” button on the
web interface

Also, the application name for RT is “/dev/null”. I guess I missed something
in the configuration.

I’d seen that too. I think that should be better in 2.1.79.

Blaise

-----Message d’origine-----
De : Jesse Vincent [mailto:jesse@bestpractical.com]
Envoye : lundi 3 mars 2003 10:56
A : THAUVIN Blaise (Dir. Informatique)
Cc : rt-devel@lists.fsck.com
Objet : Re: [rt-devel] Cosmetic bug

Interesting, since I thought the logged messages weren’t wrapped in loc
calls. In fact, I only see two of them. what messages are you seeing
localized in the logfile?

Hi,

Here is a small one. RT uses the current GUI language when sending output
to
the syslog file. This has several side effects for me :

  • Messages are sent in French, using Unicode. My syslog file is using the
    default codepage for the system, ISO, so the RT messages are quite
    unreadable.

  • If a Chinese employe was using RT (in Chinese) and complaining to me
    about
    a bug (no chance this happens, don’t worry, we don’t have any such
    employee
    :-). I would not be able to track it down through my log file as I can’t
    read chinese.

Suggested solution :

  • (Simpler) RT sends log and debug output in English/ASCII, whatever the
    current GUI language is.

  • (Nicer) A configuration parameter is added in RT_Config in order to
    specify the host default language and code page so all messages to the
    system use this configuration.

Blaise


Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.