The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Selecting a translated post in the admin does not change the current language (3 posts)

  1. Daniel Koskinen
    Posted 2 years ago #

    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?


  2. Daniel Koskinen
    Posted 2 years ago #

    I just realized that this doesn't only affect 3rd party plugins like P2P but also adding links to existing pages using the link tool in TinyMCE.

  3. Chouby
    Plugin Author

    Posted 2 years ago #

    I don't know for P2P as I don't use it. However, for the link tool in TinyMCE that's clearly a bug. Can you check with the development version (

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.