Body
First, prepare
Push Local International official documents:
{"APS": {"alert": {"title": "Shou", "Loc-key": "Notification_push_live", "Loc-args":
["over140", "Broadcast test"] }, "badge": 0, "sound": "Default", "Content-available": 1}}
Nwpusher Test Push content:
Write in En.lproj/localizable.strings (System language default English):
"Notification_push_live" = ": Space_invader:%@ is broadcasting%@";
Ii. Issues
After receiving the push, the body directly shows the notification_push_live , which indicates that the internationalization failed without finding the string.
Iii. Reasons & Solutions
found that the project has an empty base.lproj/localizable.strings , there is nothing in it, the project was created and not deleted.
--Delete The good,,, another test, if the language is not supported by default will be English
The above is an introduction to the internationalization of iOS development, hope to help develop iOS program friends.