Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #226308

    Congratulations for your theme!!
    I have a doubt, I installed the parent theme, and the child theme from the beginning, I need to translate the theme to Catalan, I installed the Codestyling Location Plugin and already created the .po .mo, the translation I’m doing appears, but only if I do it in the parent theme.
    I’ve copied and pasted the “lang” folder in the child folder, but when I edit the .po file from the child/lang/ folder the translation is not appearing!
    Do I need to edit the funtion.php or anything else!!??
    I will like to keep the translation when we update the theme!
    Thanks lot!


    Other issue… I’ve installed also woocommerce pluging….how do I do to Translate to Catalan and keep it safe from updating te plugin?



    Add this on the child theme’s function.php:

    add_action('after_setup_theme', 'avia_lang_setup');
    function avia_lang_setup()
    $lang = get_stylesheet_directory()  . '/lang';
    load_child_theme_textdomain('avia_framework', $lang);



    Hi Ismael,
    thanks for the answer, I just copy and paste this code in the childtheme/ funtion.php , I’ve been working in the translation in Poedit, paste it to lang in child folder, but now the translation does not appers, even if I paste .po .mo in the parent lang folder. It is like the theme does not know is catalan the language it has to take and still taking english…

    • This reply was modified 1 year, 2 months ago by  alquadrat.
    • This reply was modified 1 year, 2 months ago by  alquadrat.
    • This reply was modified 1 year, 2 months ago by  alquadrat.


    Can you create an administrator account and post it here as a private reply?


    This reply has been marked as private.


    I think the translation file name is not correct (see ). Try to rename lang/ca_ES.po to lang/ca.po and lang/ to lang/


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.