• When I configure TTfP for translating the admin dashboard according to user preference, it affects the content as well – i.e. it will only display content that matches the language set in the user configuration, even when “Show all languages” is selected in the Polylang top bar widget.

    I’ve done a bit of detective work here, and this is what I can determine:

    a) When I disable the option, things are normal: “Show all languages” displays all languages as expected, and selecting a language from the widget displays that language only.

    b) When I enable the option and switch my user UI language preference to one that matches one of the website content’s languages (.e.g have Polish and English, select Polish), only content for that language is listed regardless of Polylang widget selection.

    c) When I enable the option and switch my user UI language preference to one that does not match any of the content languages for the website (e.g. have Polish and English, select German), content for all languages is shown regardless of Polylang widget selection.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ellmann creative

    (@ellmanncreative)

    I just retried by setting to “Afrikaans” (just to see what will happen), and now the admin seems to be stuck on “Show all languages” – no matter what I select, all pages are displayed even when I switch back to English. I even tried logging out and back in again – no change.

    Plugin Author Marcin Kazmierski

    (@marcinkazmierski)

    Hello @ellmanncreative , for translate admin dashbord is used pll_admin_current_language filter from Polylang plugin: “Filters the current language used by Polylang in the admin context.“.
    This is what works as you describe above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.