• First, as I already said in my rating: Thank you! I needed exactly that.

    What I saw was, that the ICL_LANGUAGE_CODE var is at the default langauge, when I output it on a page (in shortcode) and add the ?lang=notdefaultlang to the query.

    Maybe some other WPML vars are not.

    https://ww.wp.xz.cn/plugins/wpml-to-wp-api/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Issue: ICL_LANGUAGE_CODE is not set right’ is closed to new replies.