Browser Language and Locale 📍

Plugin detects browser's language and locale

Demo | Editor

Plugin page

Forum

ℹī¸ Introduction

Plugin detects browser's language and locale.

Language code has a 2-characters browser-independent format: en, es, fr etc

Locale format depends on browser. Here are some examples:

  • fr, fr-fr, fr-FR

  • en, en-us, en-US

📚 Documentation

  1. Add the Browser Language element into your app.

  2. Language code is stored in the state "Language".

  3. Locale is stored in the state "Locale".

Last updated

Was this helpful?