WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Change 'Currently browsing', 'Category' etc. into other language (2 posts)

  1. ajingrabi
    Member
    Posted 1 year ago #

    Hello I am a newbie here so please be excused if I don't explain things as clear as fellow developers. First of all I got to thank the theme developer and people who have contributed in this forum to help me build a better site.

    My problem is- My site is in Traditional Chinese (Big 5) so I want to change the words 'Currently browsing', 'Category', 'Page', 'Author' etc. into Chinese, so my site speaks Chinese completely.

    I have tried following the instruction in this link:
    http://www.onedesigns.com/support/topic/how-do-i-remove-the-text-currently-browsing-on-a-category

    However after changing the codes in functions.php my site stopped working because of error in functions.php. I had to re-upload the functions.php.

    My site: http://701ac.com/ver2013

  2. jacbal
    Member
    Posted 1 year ago #

    To give you an example, here is the beginning of the function to modify: (line 1281 in function.php)

    function pinboard_current_location() {
    global $pinboard_page_template;
    if ( ! ( is_home() && ! is_paged() ) && ! is_singular() || isset( $pinboard_page_template ) ) {
    if( is_author() )
    $archive = 'auteur';
    elseif( is_category())
    $archive='cat&eacutegorie';
    elseif( is_tag())
    $archive='mots-clef';

    else
    $archive = ''; ?>

    The bold lines above are the new ones.
    For the line $archive='cat&eacutegorie' I used the Universal Code &eacute in replacement of the é in the word catégorie.
    That worked for me and my french language.
    I hope this will help you a little bit.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic