DigitalEye Plugins
Search…
Browser Language and Locale πŸ“
Plugin detects browser's language and locale

πŸ”— Links

​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. 1.
    Add the Browser Language element into your app.
  2. 2.
    Language code is stored in the state "Language".
  3. 3.
    Locale is stored in the state "Locale".