Is There a Way to Localize Push Notification ‘From’ String on iOS?

0
1
Asked By DreamyPear786 On

Hey everyone! I've run into a localization issue with push notifications in my PWA on iOS. The notifications show up like this: `[Notification Title] from [App Name]`. This works well in English, but when I switch my iPhone to French, the "from" still appears in English instead of the appropriate French term, "de". I've looked through the Web Push API and my manifest file, but couldn't find anything that allows me to change this string. My titles and bodies are localized correctly, but it seems like this "from" is hardcoded in iOS. Has anyone else faced this? Is there a workaround, or is this just a limitation with no current fix? I appreciate any help!

1 Answer

Answered By TechieGuru44 On

So, it looks like that "from" string is indeed hardcoded by iOS, and there's no way to localize it right now. It’s a known limitation in the system. Unfortunately, there's no workaround that I've seen either.

CuriousDev12 -

Thanks a lot for the info!

CodeNinja99 -

I would think that since it’s hardcoded, it should reflect the phone's language settings, right?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.