I get a lot of this Wordpress rewrite. What I want is to create a prefix that takes all the pages, archives, posts, to determine the language of translation via php. Even if this query_var works on home. example:
site.com | site.com/en | site.com/en
site.com/en/archive
site.com/en/postname
site.com/custom_post/postname
and then retrieve the language in a simple way, type get_query_var ('c_lang');