<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>30439</bug_id>
          
          <creation_ts>2009-10-16 09:02:26 -0700</creation_ts>
          <short_desc>[GTK] GTK browsers fail to show the right language translation</short_desc>
          <delta_ts>2009-10-16 14:17:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>30440</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Chang Shu">cshu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>155095</commentid>
    <comment_count>0</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2009-10-16 09:02:26 -0700</bug_when>
    <thetext>Open a GTK-based browser and load page:
http://testsuite.nokia-boston.com/content/esmp_nonESMP/navigatorObject/language1.asp
actual result: language translation shows &quot;en&quot;
expected result: language translation should show &quot;en-US&quot; or &quot;en-us&quot;

This bug is related to bug 29653 where the same problem reported on Qt browsers. The current LayoutTests/fast/js/navigator-language.html only checks if the two leading letters are &quot;en&quot;. However, it should make a case insensitive check against &quot;en-us&quot; after GTK is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155228</commentid>
    <comment_count>1</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-10-16 14:17:20 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Open a GTK-based browser and load page:
&gt; http://testsuite.nokia-boston.com/content/esmp_nonESMP/navigatorObject/language1.asp
&gt; actual result: language translation shows &quot;en&quot;
&gt; expected result: language translation should show &quot;en-US&quot; or &quot;en-us&quot;
&gt; 
&gt; This bug is related to bug 29653 where the same problem reported on Qt
&gt; browsers. The current LayoutTests/fast/js/navigator-language.html only checks
&gt; if the two leading letters are &quot;en&quot;. However, it should make a case insensitive
&gt; check against &quot;en-us&quot; after GTK is fixed.

I think you should go ahead and check for en-us right now, since the problem in GTK+&apos;s DRT is a bit bigger than just this. I will make this a duplicate of the other bug as you suggested =).

*** This bug has been marked as a duplicate of bug 30440 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>