Hello,
Our current WordPress plugin is not geared to handle multiple languages for prompts or sending notifications at this time.
You can achieve this by adding the OneSignal code to your site directly using our Custom Code setup https://documentation.onesignal.com/docs/web-push-custom-code-setup
?
We currently do not have a way to change the OneSignal prompt’s language depending on the browser language. However, there are a couple options you can do to work around this:
1 – If you use a OneSignal prompt, like the slide or bell, you can use the Custom Code Setup and initialize OneSignal with the language you detect on your site. Here is a stackoverflow if you need assistance detecting browser language: https://stackoverflow.com/questions/8199760/how-to-get-the-browser-language-using-javascript
Example code for the prompts: https://documentation.onesignal.com/docs/web-push-custom-code-examples#section-web-push-prompts
2 – if you have an HTTPS site, you can use the native browser prompt, which will translate to the browser settings. This will not work with the OneSignal prompts, like the bell or slide.
You can send notifications in different languages using our dashboard.
Please see Creating Notifications in Multiple Languages at https://documentation.onesignal.com/docs/language-localization#section-supported-languages
?
Thanks