Forum Academy Marketplace Showcase Pricing Features

[New Free Plugin]: Browser Language and Locale

We are excited to announce the launch of the free Bubble plugin, Browser Language and Locale!

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. Some examples

  • fr, fr-fr, fr-FR
  • en, en-us, en-US

demo | editor

Full Description, Documentation & Screenshots

We hope you enjoy using this plugin. No matter where you are in the world, stay safe, stay creative, and stay connected to each other!

Plugin page:

5 Likes

It worked. Thank you.

We continue improving all our plugins. We’ve just updated the Browser Language and Locale plugin. Since the 1.1.0 version it supports more browsers. We’ve also updated the Demo and Documentation pages!

1 Like

I face difficulties on the plugin use. It seems that the locale return is different from what is needed for Bubble. For instance, English is referred as “en”, but Bubble uses “en_us”; for Brazilian Portuguese, it referres as “pt-BR” while Bubble demands “pt_br”.

Is there some way to turn around this problem?

Hi there,

Unfortunately, it won’t be possible to convert these values into Bubble’s format in the plugin itself. However, you can use string operations to post-process the received value.