• ffitalia

    (@ffitalia)


    Hello, on my site I have installed customizr theme (version v3.3.1). Site is in Italian and some messages, like “Leave a comment” are not translate correctly.
    For example, home page frequentflyeritalia.com/ is perfect, “Older posts” (for example) is correctly translate to “articoli più vecchi”, but in post page (see this for example frequentflyeritalia.com/2015/02/mastercard-world-elite-black/) “leave a comment” is not translated…
    I have a child theme the same behavior is also with standard theme, and with older version ??
    thanks for any suggestions

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thanks for reporting this,
    some translations are missing.
    If you feel you can complete italian translation and then submit it (https://github.com/Nikeo/customizr).
    Here’s how to do that:
    https://doc.themesandco.com/customizr/translating-customizr/

    Thread Starter ffitalia

    (@ffitalia)

    hello, I do not think this is the problem. I checked the file for the Italian language and phrases that are not translated correctly “exist” in the file

    https://github.com/eri-trabiccolo/customizr/blob/master/inc/lang/it_IT.po#L2324
    see that “fuzzy” ? Means that translation is somewhat “unsure”. Basically fuzzy translations are not applied.

    Thread Starter ffitalia

    (@ffitalia)

    thank you very much. then if I have time I will complete the italian translation

    Filipe Costa

    (@filipecostacom)

    Just to be sure, child theme languages should go on folder “languages” under the child theme folder, right?

    Ex.:
    themes/customizr-child/language/pt_PT.po
    themes/customizr-child/language/pt_PT.mo

    Thanks

    Filipe Costa

    (@filipecostacom)

    Hi again, my child theme languages are not working, can someone help?
    If i add the languages to main theme it works, but not on child theme.
    Thanks!

    Hi Filipe,
    this is how load_theme_textdomain works, to do what you want to do you have to add the following in your child-theme functions.php:

    // use lang files in child
    add_action('after_setup_theme', 'my_lang' , 30);
    function my_lang(){
        unload_textdomain('customizr');
        load_theme_textdomain('customizr', get_stylesheet_directory() . '/language' );
    }

    But this means that just the files in this new directory will be loaded.

    Filipe Costa

    (@filipecostacom)

    Hi, thanks for the help, that worked!!

    As soon as i have the pt_PT language done i will submit it to Customizr Developer ??

    What an awesome theme!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Language problem’ is closed to new replies.