Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: Changing the Language of Android System Modal Text in the requestPermission Callback Function #1645

Closed
1 task done
WooMinGy opened this issue Feb 7, 2024 · 6 comments

Comments

@WooMinGy
Copy link

WooMinGy commented Feb 7, 2024

How can we help?

image

How can I change the language of the Android system modal that appears when navigating to device settings from the callback function of the requestPermission method? The language is currently mixed with Korean and English, as shown in the picture.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hello @WooMinGy thanks for reaching out! The language of the modal in your screenshot should be based on the device's system settings; it is a native prompt outside of OneSignal's customizable options. Is your phone currently set to Korean or English?

@WooMinGy
Copy link
Author

@jennantilla
Thank you for your response.
It is currently set to Korean.

@jennantilla
Copy link
Contributor

@WooMinGy apologies for the delay in response. Do you also have English as a language on your phone (in Settings?)? Can you try removing it and see if the modal language updates?

@jennantilla
Copy link
Contributor

Closing due to no response.

@itlockit2
Copy link

I am also experiencing the same issue where the system prompt only appears in English, even though my phone's language is set to Korean. Additionally, when I use LocaleConfig and set it up in res/xml/locale_config.xml like this:

<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
  <locale android:name="ko"/>
</locale-config>

and configure AndroidManifest.xml as follows:

<application
  android:localeConfig="@xml/locale_config"
</application>

the system prompt no longer appears at all.

@Jeyoung-Park
Copy link

same here
has anyone solved this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants