How can I get the page or post language when I use wpml? [closed]
From The WPML website: http://wpml.org/documentation/support/wpml-coding-api/ Language constants WPML defines the following constants which can be used in the theme: Constant Description Example ICL_LANGUAGE_CODE Code for the current language fr ICL_LANGUAGE_NAME Name of current language, in the current language Français ICL_LANGUAGE_NAME_EN Name of the current language name in English French