• So i have translated gravit.pot and now have es_ES.po and es_ES.mo. Where should i place them exactily (full path) and what files should change so the theme takes and uses the translations?

    thanks
    sergio

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tumbao

    (@tumbao)

    it seems to work when you rename and place them here:
    /wp-content/languages/themes/gravit-es_ES.po
    /wp-content/languages/themes/gravit-es_ES.mo

    Is the .pot file complete? i don′t find any “Tags:” to translate in it
    and there is some untranslated output wich i believe comes from this file /wp-content/themes/gravit/content-single.php:

    23  		// This blog only has 1 category so we just need to worry about tags in the meta text
       24  		if ( '' != $tag_list ) {
       25: 			$meta_text = __( 'Tags: <span class="sep">%2$s</span>', 'gravit' );
       26  		} else {
       27  			$meta_text = __( '', 'gravit' );

    Theme Author Fabian

    (@gravitas)

    Thanks for pointing that out! That’s going on my list for further updates.
    If it helps: at the moment, I’m aware of one additional file that also produces untranslated output:
    template-tags.php line 193: “leave a reply”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘translating theme’ is closed to new replies.