Summary: | [Cocoa] Cannot mock the system language | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | Text | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ap, simon.fraser |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Myles C. Maxfield
2015-08-18 23:21:20 PDT
There is internals.overrideUserPreferredLanguages(). Unfortunately, WebKit and WebCore code is not very consistent, and we often check the language and locale directly. Also, it's not always obvious where we should be using system language, and where we should be using system locale. |