--help message i18n issue
- From: Yukihiro Nakai <ynakai redhat com>
- To: gnome-i18n gnome org
- Cc: gnome-hackers gnome org
- Subject: --help message i18n issue
- Date: 22 Aug 2003 17:14:27 +0900
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-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]