Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26986

    I have translated the po/mo file to swedish BUT this text does still not change from english on the search results page:

    5 search results for: test

    should be:

    5 sökresultat för: test

    #132335

    Not sure why it doesn’t work in your case – the German translation file works just fine for me. You can try following:

    1) Add following code to the po file:

    # @ avia_framework
    #: framework/php/function-set-avia-frontend.php:850
    msgid "search results for:"
    msgstr ""

    # @ avia_framework
    #: framework/php/function-set-avia-frontend.php:854
    msgid "search result for:"
    msgstr ""

    and translate the strings with i.e. Poedit.

    2) Generate a new po file with Codestyling: http://wordpress.org/plugins/codestyling-localization/

    Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).

    #132336

    Thanks for the help. Just had to regenerate the mo file from the codestyling-localization plugin. Worked!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘translation issue on search results page’ is closed to new replies.