Services Plugins FAQs

MapBox Plugin: Change language doesn't work

Hi guys,

I’m trying to change the language on the MapBox map to German. For this I run the “Change language” command on page load. However, country and city names are still displayed in Enlish. Am I doing something wrong?


Here is the demo access to my app, if you want to have a deeper look: Canpass | Bubble Editor

Hello @robkre1

Thank you for reaching out.

It seems like the action needs more time to load the map in another language. Please try to add the action “Change Language MapBoxMap A” in the When MapBoxMap is loaded event, and add a pause before the next action. It should solve the issue.

Please let me know if it helps.

Looking forward to your reply.

Hi @Kirill, thank you for your help!

I’ve tried your approach and moved the “Change language” action to a “MapBox A Map is loaded” event but it didn’t help, as the map still only shows the English titles:


Am I missing something here? Is there a possibility that some other action could interrupt the “change language” command?

Best, Robert

Yes, there might be a custom state that is interfering with the plugin’s action…

Therefore, due to the fact that we have some additional questions regarding your settings, can you please add our Support Team email to the list of collaborators(with access to edit) to your application? This will allow us to check your settings and run some tests to fix the mentioned problem. We would like to see what might be causing the map to not change the language in this case, and try different setups so that the action works for you.

To add our Support Team as a collaborator, you need to do the following steps in the Bubble Editor:

Settings > Collaboration > Add email support@zeroqode.com

Note: avoid the warning message regarding the plan, as we are an agency and you can easily add us to your collaborators.

Looking to hearing from you soon.

Hi @Kirill,
sorry for the late reply, I’ve been sick in the past few days and out of office.

I’ve tried to add Zeroqode as a collaborator, but it seems that my current plan doesn’t allow to invite any collaborators, as the “invite” button is not activated:

Best,
Robert

It is indeed strange that you can’t add us as collaborators, there should be an issue as we are an agency and you do not need to be on a professional plan. Please make sure that there are no spaces before/after the email address, and try to click on Invite even if it is not activated.

Please let me know if it has solved the issue.

Looking forward to your reply.

Hi @Kirill, it did work now!

Please tell if I can help with questions about the workflows, data etc.

Perfect! @robkre1

We will test the plugin’s action in your app and see what might be causing the issue to not change the language :slight_smile:

As soon as we will have run some tests, I will get back to you with a solution.

Take care.

1 Like

Thank you :slight_smile: I’m looking forward

I’ve added the “pause before the next action” to the “page is loaded” event in your app, and looks like it works now. Can you please check it on your end?

Hope it works well :slight_smile:

Looking forward to your reply.

Hi @Kirill , that’s strage my test version still shows the English names: Canpass | Cannabis Geschäfte in Deiner Nähe

I’m also using the incognito mode in Chrome to make sure there’s no cookie or something interfering there.

Does it show the English names on your end?

Hello @robkre1

Indeed, the problem seems to be still there and the action “the change language” function seems to be inconsistent in your app, I’ll discuss this issue with our developers and will get back to you!

Hope for your kind understanding on this matter.

Take care.

Thank you for your patience @robkre1

The “Change Language MapBox” function only works if the custom style is set. Please use one of the following custom styles:

  • mapbox://styles/mapbox/streets-v11
  • mapbox://styles/mapbox/outdoors-v11
  • mapbox://styles/mapbox/dark-v10
  • mapbox://styles/mapbox/light-v10
  • mapbox://styles/mapbox/satellite-streets-v9
  • mapbox://styles/mapbox/traffic-day-v2
  • mapbox://styles/mapbox/traffic-night-v2

Also, you had a change language action to English in one of the “Do when conditions are true” events.

Anyways, the change language action seems to work well right now, please check it on your end and let me know the result :slight_smile:

Looking forward to your reply.

1 Like

It works well, thank you very much!

2 Likes

I am glad that it works well for you!

If you like our plugin, could you please rate it by going to the Plugins tab in Bubble editor. You can find the plugin by name and give it as many stars as it deserves. The more feedback we get, the more motivated we are to build great plugins :slight_smile:

Thank you.

1 Like