RewriteEngine on

RewriteRule ^([a-z]+)/([a-z-0-9]*)$ index.php?lng=$1&page=$2 [QSA]
RewriteRule ^([a-z]+)/js/main.js$ js/main.php?lng=$1
