Firebase push notification doesn't use Android string resource from body_loc_key
<p>I have a backend server that pushes cloud messages to iOS and Android devices. In the messages, the <code>body_loc_key</code> attribute is set to <code>someone_commented_moment</code>, and <code>body_loc_args</code> contains three string arguments.
The Firebase documentation says about the <code>body_loc_key</code>:</p>

<blockquote>
  <p>On Android, use the key in the app's string resources when populating this value.</p>
</blockquote>

<p>So on Android, I have a strings.xml which contains this entry:</p>

<pre><code>&lt;resources&gt;
    [...]
    &lt;string name="someone_commented_moment"&gt;
        \@%1$s also commented on \@%2$s\'s moment: %3$s
    &lt;/string&gt;
    [...]
&lt;/resources&gt;
</code></pre>

<p>Regardless, this string resource is never loaded in the notification that is shown on the device.</p>

<p>On iOS this works flawlessly, and I do get the notification payload in the Intent that starts my Activity from the notification, so I suppose it's not an error on the server side. Am I missing something here? Do I have to manually do something to make this work, to make Firebase find and use that string resource for the localization of the notification body?</p>

<p>Edit:
The python code triggering the notification looks like this:</p>

<pre><code>self.fcm.notify_multiple_devices(registration_ids=push_tokens,
                                 body_loc_args=notification.body_loc_args,
                                 message_body=notification.type,
                                 data_message=notification.data,
                                 body_loc_key=notification.type,
                                 sound="default")
</code></pre>

<p>Where <code>self.fcm</code> is an object of type <code>pyfcm.FCMNotification</code>, and <code>notification.type</code> is set to <code>"someone_commented_moment"</code>, as is confirmed by a print statement as well as by what gets sent to the device.</p>