Notifications display in wrong langauge

On my app I've added Spanish recently as a localization. English is marked as the development language, and Use Base Internationalization is checked. The app uses custom push notifications, so there's an ServiceNotification target that has this line in it:



NSLocalizedString("No winnings on this drawing.   ", comment: "Push notification message saying this drawing didn't win anything.")


I've had two different customers contact me now saying they are seeing the Spanish localization of this when the push notification comes through. What in the world is going on? This is the contents of my ServiceNotification extension:



% ls -R
Info.plist                    ServiceNotification.entitlements
NotificationService.swift          es-MX.lproj/

./es-MX.lproj:
InfoPlist.strings     Localizable.strings

where are those customers based ? Mexico ?

No, they're both in the US. One is my father, who definitely doesn't have anything set on his phone which should make this happen.

And of course, on other iphones (yours), the same messages are properly in english ?


have you an opportunity to compare one by one both iPhones settings ?

I just ran myself, on my phone, through the debugger. It's showing the spanish. I even printed out Locale.current.languageCode, which said "en". I'm very confused!

It's acting like, because there's not an english version of Localizable.strings, that this is the default one it has to pick from.

Notifications display in wrong langauge
 
 
Q