[Theme: Chunk] Translation problem (2 posts)

  1. steinerized
    Posted 2 years ago #

    just downloaded the Chunk Theme and trying to get my translation working.
    I used the included chunk.pot as the basis for my own translation with poedit, compiled the file and saved the appropriate files as it_IT.po and it_IT.mo both in the theme root folder and in the languages folder.

    However nothing changes and everything still shows up in English. WP_LANG is defined as 'it_IT' in wp-options.php.

    Translations should get loaded from /languages/ as per functions.php:

     * Make theme available for translation
     * Translations can be filed in the /languages/ directory
    load_theme_textdomain( 'chunk', get_template_directory_uri() . '/languages' );

    So where to go from here? Theme is said to be translation ready and the code looks like it, but apparently my translation files don't get loaded...

    Some pointers to the next step would be much appreciated.


  2. faktanett
    Posted 2 years ago #

    There is an error in the functions.php file.

    load_theme_textdomain( 'chunk', get_template_directory_uri() . '/languages' );


    load_theme_textdomain( 'chunk', get_template_directory() . '/languages' );

Topic Closed

This topic has been closed to new replies.

About this Topic