WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress SEO by Yoast (4 posts)

  1. dikla.php
    Member
    Posted 2 years ago #

    Hello !

    WordPress version: 3.3.2
    WordPress SEO version: Version 1.1.9

    My site is multilingual site with 5 languages.
    WordPress SEO by Yoast plugin has multilingual support and languages files.
    I did this:
    I inserted category title template:
    "%%category%% %%page%% - site_name"
    and the this template should be multilingual and the words "page" and "of" should be translated.

    I expected the plugin to do this:
    The title to be:
    "category_name Page 1 of 2 - site_name"
    in all languages.

    Instead it did this:
    The title "category_name Page 1 of 2 - site_name" works only for English pages.

    I changed the core code of the plugin in the file 'wpseo-functions.php'
    line 142:
    '%%page%%' => ( $max_num_pages != 0 ) ? __( 'Page','wordpress-seo' ).' '.$pagenum.' '.__( 'of','wordpress-seo' ).' '.$max_num_pages : '',

    but the words has no translations.

    Can you please add translation support to this title template?

    Many thanks.

  2. wellbeingtips
    Member
    Posted 2 years ago #

    Yes he will for sure only chose when do you want this, now or later?

  3. dikla.php
    Member
    Posted 2 years ago #

    Yes, now will be very helpful!

  4. wellbeingtips
    Member
    Posted 2 years ago #

    Give a proper title to the topic so Joost (the developer) can find it.
    Example: [Plugin: WordPress SEO by Yoast] "your question here"

Topic Closed

This topic has been closed to new replies.

About this Topic