Add feature flag qa_enforce_locale_to_en
Related issue: #923 (closed)
What does this MR do and why?
- Add feature flag
qa_enforce_locale_to_en
to enforce locele toen
for E2E test cases #1199 (closed)
Behavior
qa_enforce_locale_to_en
default false
.
- For login users, use the preferred language in user attribute;
- For first come unlogin users, use the
default_preferred_language
in ApplicationSettings (if turns on theqa_enforce_locale_to_en
, this setting will returnen
) ; - For unlogin users who switched preferred language, use the user selected.
cc EM @prajnamas
cc QA @WilsonDuan