[Webkit-unassigned] [Bug 29653] [Qt] Qt-based browser fails to show the right language translation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 07:40:35 PDT 2009


--- Comment #12 from Chang Shu <Chang.Shu at nokia.com>  2009-10-06 07:40:35 PDT ---
(In reply to comment #10)
> uh, I dont really think that run-webkit-tests should depend on my current
> locale. Actually we hardcode things there (like render engine) so make it
> depend as little on the environment/system as possible, in order to make
> reliable expected test results.

The reason I have to change run-webkit-tests is:
In Qt Linux, QLocale depends on the environment variable LANG to figure out the
language of the system. While I run DumpRenderTree individually, the test case
passed as LANG is passed to the code. However, run-webkit-tests throws away
most of the env variables including LANG before, and the test case failed
because of that. As you suggested, I can hardcode the LANG here, e.g.,
en_US.iso88591 instead of taking the real one. What do you think? Thanks!

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list