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
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.
I would think that since it’s hardcoded, it should reflect the phone's language settings, right?
Thanks a lot for the info!