I want to make like that..
<a href="http://mysite.com/en/about-us/history/">History in English version </a> <a href="http://mysite.com/ru/about-us/history/">History in Russian version </a>
so, How can I change en <-> ru anywhere?
I used: <?php echo get_permalink(); ?> but it gives us full of URL
have you any idea?
I know in PHP $_SERVER . But how can i make it on WP?