As far as I can see WPML searches for theme translations in the “MO file in /wp-content/themes/enfold” folder, however the enfold files are kept in “/wp-content/themes/enfold/lang”.
Is there a setting somewhere I should change somewhere, or perhaps I am misunderstanding the way it works?
Hi dngood!
How are you? I hope you’re doing well today.
The languages should be located on wp-content/languages by default but enfold loads the languages files on the lang folder.
if(!function_exists('avia_lang_setup'))
{
add_action('after_setup_theme', 'avia_lang_setup');
function avia_lang_setup()
{
$lang = get_template_directory() . '/lang';
load_theme_textdomain('avia_framework', $lang);
}
}
http://codex.wordpress.org/Function_Reference/load_theme_textdomain
Regards,
Ismael