• Resolved potnii

    (@potnii)


    Hi. Your plugin is really nice working but I have problems with translation on web site side.
    I downloaded translation files and put them in wp-content/languages/plugins directory. The admin part of plugin is translated on russian, but on page where I put poll using shortcode it is still english and I can’t figure out what is the problem.
    I tried to put translation files in directory with plugin and in wp-content/themes/my-theme/languages directory but no result.
    If just to echo in any template file some of words that is using in plugin, for example
    _e('Votes', 'wp-polls'); it will be print translated. But in plugin it is not.
    Also what is strangely is that in plugin translated strings loads through

    function polls_textdomain() {
        load_plugin_textdomain( 'wp-polls' );
    }

    function. And if to callload_plugin_textdomain( 'wp-polls' )

    function it returns ‘true’. So file is visible but it’s not translates on page.
    Also I tried to delete wp-polls.pot file but nothing happened.
    How do you think what is the problem?

    • This topic was modified 8 years, 5 months ago by potnii.
    • This topic was modified 8 years, 5 months ago by potnii.
    • This topic was modified 8 years, 5 months ago by potnii.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translation problems’ is closed to new replies.