user agent - How can I get the actual culture name from an iPhone web app? -


clarified: javascript web application not native object-c application.

i have web application running on iphone need globalize.

i've configured settings->general->international->region format "united kingdon" , left language "english".

upon inspection of user agent string i'm seeing following:

mozilla/5.0 (iphone; u; cpu iphone os 4_0 mac os x; en-us) applewebkit/532.9 (khtml, gecko) mobile/8a293

i expect en-gb i'm seeing en-us.

i've tried restarting iphone , remains en-us.

from understand, language portion comes set type of iphone's "language" (e.g. menus , buttons in user interface) , not region format.

source


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -