If you are looking to add multilingual capabilities to your website. Here is a comparison on how to get started with WPML or Polylang.
Just a very simple comparison of the premium language plugin WPML and the free Polylang. Both are pretty easy to set up and work very well with the Enfold theme from Kriesi on ThemeForest.
Enfold
https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=Tandypress
WPML
Code used in this tutorial for WPML:
Goes in your Enfold child theme functions.php
// Adds Language directory path points to Enfold Child Theme add_action('after_setup_theme', 'avia_lang_setup'); function avia_lang_setup() { $lang = get_stylesheet_directory() . '/language'; load_child_theme_textdomain('avia_framework', $lang); } // Removes Country Flags From Menu add_action('init','ava_remove_lang_flags', 9999); function ava_remove_lang_flags() { remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9998, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); add_action('avia_after_footer_columns', 'avia_wpml_language_switch', 10); }
Goes in your Enfold child theme CSS
/*CSS to hide languages */ .avia_wpml_language_switch li .language_flag { display: none !important; } .avia_wpml_language_switch li span.language_native{display: block !important;} .menu-item-language-current {display: none !important;}