Please also extract it to a private method `String getLocaleFromMetaTag()`