Is There a Way to Localize Push Notification 'From' String on iOS?
Asked by
DreamyPear786
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!
Answers
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.
Reply to this answer
Add your answer
Answers are reviewed before publication.
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?