• Dear developpers,

    I have made my first website with the Customizr last week and I really like it…

    I custumized the footer as instructed on Customizr blog and it’s really good for me :
    https://www.themesandco.com/snippet/altering-adding-footer-credits/
    Here is my code:

    add_filter('tc_credits_display', 'my_custom_credits');
    function my_custom_credits(){
    $credits = '';
    $newline_credits = '';
    return '
    <div class="span4 credits">
                        <p> &middot; <a href="https://kreega.com/kreega/" title="about" rel="bookmark"> About </a> &middot; <a href="https://kreega.com/kreega/contact/" title="contact" rel="bookmark"> Contact </a> &middot; <a href="https://kreega.com/kreega/mention-legale/" title="mention légale" rel="bookmark"> Mention légale </a> &middot; <a href="https://kreega.com/credits/" title="credits" rel="bookmark"> Crédits </a> &middot; <br /> &middot; &copy; '.esc_attr( date( 'Y' ) ).' <a href="'.esc_url( home_url() ).'" title="'.esc_attr(get_bloginfo()).'" rel="bookmark">'.esc_attr(get_bloginfo()).'</a>, all rights reserved. &middot; '.($credits ? $credits : 'Theme by <a href="https://www.themesandco.com/">Themes&Co</a>').' &middot;'.($newline_credits ? '<br />&middot; '.$newline_credits.' &middot;' : '').'</p>
            </div>';
    }

    But I would very much like to have this part in other languages, like Chinese, English, etc. So I tried to write as follow (this is what appears in multilinguage titles)`
    <!–:en–>Translation<!–:–><!–:zh–>翻译<!–:–><!–:fr–>Traduction<!–:–>
    `
    I use qTranslate for the management of languages.

    But this didn’t work out.

    Could anybody help ? Thanks alot !

    Here is my website : https://kreega.com/

Viewing 2 replies - 1 through 2 (of 2 total)
  • ElectricFeet

    (@electricfeet)

    Hmmm. Nikeo/acub: Could either of you suggest an improvement in the snippet that would make that field translatable?

    Thread Starter liuzhongjun

    (@liuzhongjun)

    If any translation needed for the po/mo file, I’ll be happy to do it for French and Chinese.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Footer in different languages just like in the main menu’ is closed to new replies.