Support » Themes and Templates » Translation (French) issue

  • Resolved Aranarth


    Hiya, I just started using the theme. My website and Windows are in French, so I guess the them automatically translates, which is really nice.

    Except for one thing, at the end of each post, before the category, the French words are “Remplis sous”, followed by the category. It does make sense, but it’s definitely not what a proper French translation should be.

    Is there any way I can change these words in the php/css theme files? I don’t know much about theme customisation yet.


Viewing 4 replies - 1 through 4 (of 4 total)
  • post’s are displayed by theme’s single.php and pages by page.php
    index.php or home.php is used to display front page

    Thanks, but I have no idea what to change there. I looked for the french phrase but didn’t find it.


    You will have to look for the precise function that is building the line containing that text, as the bottom of posts.

    I am personnaly using the Thematic Framwork theme, that I am customizing. The default function to generate the post footer is in the file content-extension.php and is the following:

    // Create post category
    function thematic_postfooter_postcategory() {
        $postcategory = '<span class="cat-links">';
        if (is_single()) {
            $postcategory .= __('This entry was posted in ', 'thematic') . get_the_category_list(', ');
            $postcategory .= '</span>';
        } elseif ( is_category() && $cats_meow = thematic_cats_meow(', ') ) { /* Returns categories other than the one queried */
            $postcategory .= __('Also posted in ', 'thematic') . $cats_meow;
            $postcategory .= '</span> <span class="meta-sep meta-sep-tag-links">|</span>';
        } else {
            $postcategory .= __('Posted in ', 'thematic') . get_the_category_list(', ');
            $postcategory .= '</span> <span class="meta-sep meta-sep-tag-links">|</span>';
        return apply_filters('thematic_postfooter_postcategory',$postcategory); 
    } // end thematic_postfooter_postcategory

    As you see, it contains the words “Posted in”, which could be replaced by your preferred words. That means you would edit the theme directly
    (In my case, I did something esle, since I am not directly editing the theme, but creating a child theme).

    Thanks!, I found what I was looking for.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translation (French) issue’ is closed to new replies.