This thread is resolved. Here is a description of the problem and solution.
Problem:
I added a language switcher with:
do_action( 'wpml_add_language_selector' )
Where can I customize it in the dashboard?
Solution:
The do_action('wpml_add_language_selector') action outputs the language switcher based on the options set in the "Custom Language Switchers" section in "WPML > Languages".
- Go to that section and make sure the switcher is enabled
- Click on "Customize", and make sure that "Language name in current language" is not selected
- Click on "Save"
- Clear any cache you may have
Hi we want to change something and the theme developer is very slow but also maybe he needs some reference
He is calling
do_action( 'wpml_add_language_selector' ) in an elementer widget
but in the image it shows the
Language name in current language (I think it is what it is called)
Welcome to the WPML support forum.
The do_action('wpml_add_language_selector') action outputs the language switcher based on the options set in the "Custom Language Switchers" section in "WPML > Languages".
- Go to that section and make sure the switcher is enabled
- Click on "Customize", and make sure that "Language name in current language" is not selected
- Click on "Save"
- Clear any cache you may have: from plugins or server sided
- Even cache from WPML: In "WPML > Support > Troubleshooting (link)", click on "Clear the cache in WPML"
it states "This action hook does not have any parameters." but that is wrong and it does not point you to what you pointed me to , so it displays as the user wishes 🙂