Tagged: avia framework, child theme
Hi Team!
I try to load an Enfold Child Theme on my site.
I success call the .po .mo files – it’s translate successfully the frontend website, but not the Avia framework backoffice –
Look my fonction.php child theme :
<?php
global $avia_config;
add_theme_support('avia_template_builder_custom_css');
add_action('after_setup_theme', 'avia_lang_setup');
function avia_lang_setup()
{
$lang = get_stylesheet_directory() . '/lang';
load_child_theme_textdomain('avia_framework', $lang);
}
Any idea?
thank for your help
Marc – Winsiders
Hey Octopus4444!
Thank you for using Enfold.
The theme options should be translated by default. Try to change the language settings on Settings > General panel. Note that this might break the theme options if the .mo and .po file are not complete or have missing translations.
Cheers!
Ismael
Hi Ismael!
Thanks for your answer.
I’ve checked the Settings in General panel all are ok (french selected in my case).
A little precision: the problem it’s just on the Enfold Panel (theme options, general layout…), not on the avia framework page ( sorry for my bad explain :/ ).
Marc – Winsiders
Hey!
Like I said, the translation file should be complete. Unfortunately, we can’t translate it ourselves. You can use the Codestyling Localization plugin to translate missing strings.
Regards,
Ismael
OK Ismael!
Maybe this feature in an upcoming update? :)
Thanks again for your jobs
Marc – Winsiders
Hey!
Hopefully all translations will be perfect asap :)
Please let us know if you should have any more questions.
Best regards,
Rikard
Thanks Rikard!
Topic done ;)