availability:

WPML Version: 3.2

description:

Displays the drop down language selector as configured from the “WPML->Languages” admin screen

type:
action
category:
Site-Wide Language Information
parameters:
do_action( 'wpml_add_language_selector' )

This action hook does not have any parameters.

hook example usage:

Add the code below to your theme template files, where you want the language switcher to be displayed at.

Example

do_action( 'wpml_add_language_selector' );

If you like you can also add the above code line in a PHP widget like PHP Text Widget