Revert "Fix PHANPY_DEFAULT_LANG not working"

This reverts commit b286511f44.
This commit is contained in:
Lim Chee Aun 2024-08-19 18:57:25 +08:00
parent 6f8ed8411b
commit 6fe922d1cf

View file

@ -46,8 +46,8 @@ export function initActivateLang() {
const lang = detect(
fromUrl('lang'),
fromStorage('lang'),
PHANPY_DEFAULT_LANG,
fromNavigator(),
PHANPY_DEFAULT_LANG,
DEFAULT_LANG,
);
const matchedLang = localeMatch(lang, LOCALES);