• Resolved dw4y

    (@dway)


    Hi !

    The translation (in french for me) is not working in the widget : I see “Total Voters” instead of the translation.

    Same is happening in the archive page, everything is in english instead of french.

    Note that all the admin part is correctly tranlated in french 🙂

    Thx for your time !

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Lester Chan

    (@gamerz)

    restore all templates to default in WP-Admin -> Polls -> Templates

    Thread Starter dw4y

    (@dway)

    Thx lester Chan !
    Should have found that alone sorry…
    But if I understand right, it means the polls are all set to one language only, and if I use a multilangual website, it will show only the language set in the templates ?

    Thx for your time !

    Plugin Author Lester Chan

    (@gamerz)

    Yeap, unfortunately.

    Thread Starter dw4y

    (@dway)

    well that’s ok. I’m thinking : is there any way to change the way the plugin is finding the current language ? I think you use the WP_LANG global to know about it, could you tell me if I could modify (and where) the plugin to take advantage of another global variable I set to the right language ?
    Thx for your time, for your plugin and your reactivity !
    dway.

    Plugin Author Lester Chan

    (@gamerz)

    Yeap, I don’t “find” the language, I just make use of what is set in WordPress. so it is the use of global language variable

    Thread Starter dw4y

    (@dway)

    Ok thx 🙂
    Could you tell me where in your code you get this info ? So I will adapt it for some tests. I mean I suppose that you get the info once and then use some var to be used all over your code. Thx !

    Plugin Author Lester Chan

    (@gamerz)

    Thread Starter dw4y

    (@dway)

    🙂 ok thx

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Translation not working in frontend’ is closed to new replies.