I've tested this on several iPhones but they were all Japanese ones so it might be a problem with this country only.

Anyway, locale_language_from_browser() doesn't seem to return anything for iPhones on iOS Safari browsers. Going to the same site URL on a desktop machine with a Japanese browser worked, but the same page on an iPhone didn't detect browser language correctly.

Comments

cosmicdreams’s picture

This webpage: http://stackoverflow.com/questions/905595/how-to-get-the-language-settin...

claims that the proper HTTP header is being sent by safari within an iPhone. So if there IS a bug here, we should be seeing a wider audience for the bug than just iphones.