`s/navigator.language/navigator.language || navigator.userLanguage/g` and L979 below.