How to reproduce:

1. Enable locale, panels, metatag.
2. Add any languages.
3. Enable multilingual support for node type (for example Article).
4. Create node with language set to English or any other language and configure custom metatags for it.
5. Output it with Panels / Panelizer / Views.
6. Check that custom metatags was not displayed.

It is because of metatag_entity_view() calls without language code (in metatag_ctools_render_alter() for example).

It can be fixed (A) inside metatag_entity_view() or (B) by simply passing appropriate $langcode when calling metatag_entity_view() manually.

I'm not sure which approach is better, so I'm not attaching any patches :)

Comments

DamienMcKenna’s picture

DamienMcKenna’s picture