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

  1. hwendt
    Posted 2 years 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!


  2. hwendt
    Posted 2 years ago #

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

  3. Chouby
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic