I want to localize notification , and i find that there is properties for that , like title_loc_key, body_loc_key
he FCM fields used for localizing (I18N) the notification title and body are not working. For example:
{
"android" : {
"priority" : "normal",
"notification" : {
"title_loc_key": "notify_title",
"body_loc_key": "notify_body"
}
}
}
The FCM documentation states that these fields are used to localize the text in the "app's string resources", but Flutter does not have a res/values/strings.xml file. I am using the flutter_localizations library, and maintain res/values/strings_.arb files as required by Flutter for internationalization, but there is no way for me to tell firebase_messaging to use these resources.
thank you