https://bugs.webkit.org/show_bug.cgi?id=49099 Summary: Android's navigator.language hardcoded to "en" Product: WebKit Version: 528+ (Nightly build) Platform: Android OS/Version: Android Status: UNCONFIRMED Severity: Normal Priority: P2 Component: WebCore Misc. AssignedTo: webkit-unassigned at lists.webkit.org ReportedBy: jreck at google.com CC: steveblock at google.com from: http://code.google.com/p/android/issues/detai... Using navigator.language reports always "en" in androids browser where as my system language is de-at and the browser UI-Language is german as well. Looking at the attributes of the navigator object I see: navigator.language: en navigator.userAgent: Mozilla/5.0(Linux;U;Android 1.5;de-at;T-Mobile_G2_Touch Build/CPUCAKE) AppleWebKit/528.5+ ... navigator.appVersion: 5.0 (Linux;U;Android 1.5; de-at; ...) I know that navigator.language does not reflect the OS-Language but because my browser interacts with me in german I would have expected navigator.language to be "de"
https://bugs.webkit.org/show_bug.cgi?id=49099 --- Comment #1 from jreck at google.com 2010-11-05 15:03:53 PST --- Created an attachment (id=73125) --> (https://bugs.webkit.org/attachment.cgi?id=731...) Changes Android's WebCore::platformDefaultLanguage() to get the correct value from PlatformBridge
https://bugs.webkit.org/show_bug.cgi?id=49099 jreck at google.com changed: What |Removed |Added
https://bugs.webkit.org/show_bug.cgi?id=49099 --- Comment #2 from Alexey Proskuryakov 2010-11-05 22:46:41 PST --- Looks fine, assuming it's the normal design pattern for Android to call PlatformBridge from WebCore/platform/android files (which seems weird).
https://bugs.webkit.org/show_bug.cgi?id=49099 Steve Block changed: What |Removed |Added
https://bugs.webkit.org/show_bug.cgi?id=49099 WebKit Commit Bot changed: What |Removed |Added
https://bugs.webkit.org/show_bug.cgi?id=49099 WebKit Commit Bot changed: What |Removed |Added
https://bugs.webkit.org/show_bug.cgi?id=49099 WebKit Commit Bot changed: What |Removed |Added