https://bugzilla.redhat.com/show_bug.cgi?id=1004732



--- Comment #19 from David Shea <[email protected]> ---
Created attachment 1101562
  --> https://bugzilla.redhat.com/attachment.cgi?id=1101562&action=edit
language switch test

We need support in gtk to make this work. I've attached a small script that
will change the language between English and Vietnamese and then open a dialog
with Vietnamese text (I apologize if it's gibberish, I just ran "Hello, world!"
through google translate). On the language switch I do everything we can (as
far as I know) to indicate that the language has changed: I update the LANG
environment variable, I call setlocale with the new language, and I update the
language in the Pango context for the original window. Even with all of this
the ế and ớ characters render in a different font from the rest of the string,
and the dialog's Pango context uses the original language.

In order for language switching like this to work we need some way of
indicating to Gtk (or Pango?) that the global language to use for new widgets
has changed.

Adding <span lang=... tags everywhere is not feasible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=y813KlFID6&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to