Support » Themes and Templates » [Theme: Chunk] Translation problem

[Theme: Chunk] Translation problem

  • Hi,
    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.


Viewing 1 replies (of 1 total)
  • 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' );

Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Chunk] Translation problem’ is closed to new replies.