Support » Plugin: Theme and plugin translation for Polylang (TTfP) » pll__() not recognized

  • Resolved bartesuski

    (@bartesuski)


    Hi, thanks for this great plugin.
    I have a small thing to report, string in pll__() don’t seem to get recognized by the plugin (version 3.2.8). After adding

    
    pll_e('a');
    pll__('b');
    _e('c');
    __('d');
    

    to my theme files I only got ‘a’, ‘c’ and ‘d’ in string translations page. It’s not really a problem since I can use __() instead. Just wanted to know if it’s my fault or a bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author marcinkazmierski

    (@marcinkazmierski)

    yes, you are right…
    I fixed it, please update plugin to 3.2.9 version.
    Thanks for reporting! 😉

    Hi, after the last update I noticed that there is a bug in /wp-admin regarding non-English languages.
    Basically i have a hybrid translation situation. It appears that the cause is the “tt_pll_gettext_with_context_filter” function

    WordPress version: Latest WordPress (CLEAN INSTALL)
    Theme: Native WordPress Theme Enabled (Twenty Twenty)

    Look at attached a screen
    https://ibb.co/p161jk4

    • This reply was modified 5 months, 2 weeks ago by vorlando.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.