Hi jorge,
I've never used Polylang so the plugin definitely is not set up to handle those lang variables.
Do you know how I would retrieve the current language in the plugin?
with WPML the ICL_LANGUAGE_CODE
with return the current language.
Cheers.