I am using Notification Serivce Extension to change the text coming from the server as per what I Want.
However, that was working good with normal strings. but when I used NSLocalizedString with it, it dosent show the localized string, instead it shows the field name of the string.
For example: inside the UNNotificationServiceExtension:
let CompanyViewLM = NSLocalizedString("Notifications.View", comment: "No Comment")
and in Localizable.strings I put the following line:
Notifications.View = "I Viewed your profile";
Noting that I put the same lines of code in a normal view controller and it works just fine.