After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338690 - orca_i18n doesn't work as expected.
orca_i18n doesn't work as expected.
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-16 14:07 UTC by Willie Walker
Modified: 2006-04-16 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case. (57 bytes, text/x-python)
2006-04-16 14:16 UTC, Willie Walker
  Details
Adds gettext.textdomain("orca") to orca_i18n (1.76 KB, patch)
2006-04-16 14:17 UTC, Willie Walker
accepted-commit_now Details | Review

Description Willie Walker 2006-04-16 14:07:06 UTC
From the orca-list@gnome.org mailing list:

"I am trying to make i18n work in Orca, I have correct the locale LANGUAGE=es_ES_UTF8, and the orca.mo is generated in compile/installation step. But when I run Orca it plays in english instead of spanish. 

From python I have tried from orca_i18n import _ And then _("Welcome to Orca") for example, and it returns the same string. I have tried with other strings and the same occured."
Comment 1 Willie Walker 2006-04-16 14:14:49 UTC
Looks like orca_i18n is not calling gettext.textdomain as shown in the docs: http://docs.python.org/lib/node327.html.
Comment 2 Willie Walker 2006-04-16 14:16:07 UTC
Created attachment 63634 [details]
Test case.

Test case that uses an actual string from Orca.
Comment 3 Willie Walker 2006-04-16 14:17:41 UTC
Created attachment 63635 [details] [review]
Adds gettext.textdomain("orca") to orca_i18n
Comment 4 Willie Walker 2006-04-16 14:18:42 UTC
Fixed in the development version. The fix will be available in the next major release (0.2.3). Thank you for your bug report.