WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
[resolved] setting different footers per language (4 posts)

  1. hwendt
    Member
    Posted 1 year ago #

    Hi there,
    first of all: many thanks for such a great plug-in!

    Can you by any chance suggest a way to have different footer.php files per language?

    Thank you once again!

    http://wordpress.org/extend/plugins/polylang/

  2. hwendt
    Member
    Posted 1 year ago #

    The same question for example regarding the "continue reading" text (i.e. in the twenty ten theme)?
    Thanks again!

  3. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    The "continue reading" text is defined in your theme. If the text is not translated, it probably mean that your theme is not (or not fully) translated. Have you po/mo files corresponding to your language in your theme directory?

    You don't need a footer.php per language. I the problem is just to translate one or some strings, then you just have to translate your theme (this may help you)

    If you want to fully customize your footer, then you may use if statements such as:

    $language = get_locale();
    if ($language == 'en_US') {
     ... do something ...
    }
    else {
     ... do something else ...
    }

    See also: http://polylang.wordpress.com/documentation/documentation-for-developers/general/

  4. hwendt
    Member
    Posted 1 year ago #

    Thank you very much Chouby, for not only supplying a great plug-in but also for your support!

    I will work my way through your suggestions and hopefully succeed :-)

    Thanks once again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic