Re: --help message i18n issue



Yeah, you're right. I made a note of that in February

  http://lists.gnome.org/archives/gnome-i18n/2003-February/msg00174.html

and filed bugs on a few products, such as

  http://bugzilla.gnome.org/show_bug.cgi?id=106830

but not on all the products that have the problem.

The bind_textdomain_codesest issue didn't occur to me
though. Good thinking! :) Ahh, if only popt were part of
glib, and were using g_print! 

Noah

On Fri, Aug 22, 2003 at 17:14:27 +0900, Yukihiro Nakai wrote:
> Hi,
> 
> GNOME2 apps show command option descriptions with the '--help' option
> as you know, and those messages are gettextized and translators
> make efforts to maintain those translations.
> 
> But...
> 
> Almost of all apps don't show them correctly, some of them are
> scrambled, others completely ignore them and show just English.
> Only Gnumeric(CVS) shows it correctly as far as I know in GNOME2 apps.
> http://bugzilla.gnome.org/show_bug.cgi?id=120219
> 
> HOW TO FIX(as translators, bug reporters):
> * If all '--help' messages are English in non-English locale...
>   - Make sure popt option messages are all gettextized with N_().
>   - Call setlocale(LC_ALL, "") before gnome_program_init()
> 
> * If '--help' message gets scrambled in non-UTF-8 locales.
>   - Call bind_textdomain_codeset(PACKAGE, "UTF-8") after
>     gnome_program_init(). Don't call before it.
> 
> * 'Help options' 'Application options' are still English
>   - libgnome issue.
>     http://bugzilla.gnome.org/show_bug.cgi?id=120374
> * 'Show this help message' 'Display brief usage message' are still 
>   English
>   - popt issue. Will be fixed in popt-1.8.1
>     https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=102798
> 
> HOW TO FIX(as maintainers):
> 1. Call setlocale(LC_ALL, "") before gnome_program_init()
> 2. Call bind_textdomain_codeset(PACKAGE, "UTF-8") after   
>    gnome_program_init(), never before.
> 
> And I wonder why gnome_program_init() don't call setlocale(LC_ALL, "")
> internaly for help option. GNOME1 called setlocale() through
> gtk_set_locale() in gnome_init() for the sake of easy development.
> 
> -- 
> Yukihiro Nakai <ynakai redhat com>
> 
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n gnome org
> http://lists.gnome.org/mailman/listinfo/gnome-i18n



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]