I know there are many topics. I tried them many times, but it doesn\'t work.
Instead of example.com/en/file.php, users see only
example.com/en/file.php
DirectoryIndex index.php index.html RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ $1.php [L,QSA]
In your links, don't use extensions.