Adds value lang and translations to WP REST api response for each Post and Page request for site running the Polylang plugin.
The locale value of the post
{ [...] "polylang_current_lang": "en" [...] } List of translation for the post
{ [...] "polylang_translations": [ { "locale": "fr", "id": 1 } ], [...] }