Function getPreferredLocale

Source
getPreferredLocale(): string

Use browser API to guess user's preferred locale