WordPress.org

Support

Support » Plugins and Hacks » Selecting a translated post in the admin does not change the current language

Selecting a translated post in the admin does not change the current language

  • Hi there,

    My issue is this: If I go to edit a translated post directly either by clicking on one of the pencil icons in the post list or in the languages box of an individual post, the translated post opens just fine but the “current language” in the admin bar (or as reported by pll_current_language) doesn’t change. This creates problems with other plugins such as Posts 2 Posts because they don’t see the language of the current post but the value of “lang”. Is this functionality deliberate? If so, is there a hook I could use to make sure the language attribute in the query is set according to the current content?

    https://wordpress.org/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selecting a translated post in the admin does not change the current language’ is closed to new replies.