We always use AppleLanguages for choosing localized strings (often via CFBundle), except for localized language names in track names. These are localized using the system locale. I think that this is inconsistent and incorrect. This is observable on tests, media/video-controls-captions-trackmenu-localized.html and media/video-controls-captions-trackmenu-sorted.html fail when system locale is non-English. Also, one of these tests actually attempts to test Japanese, and fails, getting English results instead. rdar://problem/20000365
Created attachment 247809 [details] proposed fix
Comment on attachment 247809 [details] proposed fix Thank you!
Comment on attachment 247809 [details] proposed fix Clearing flags on attachment: 247809 Committed r180984: <http://trac.webkit.org/changeset/180984>
All reviewed patches have been landed. Closing bug.