If allowed on your server, you can try something like this for a specific page of your .htaccess file:
RewriteEngine On RewriteRule ^-.htm$ category.php?slug=ru
In Regex, if the character set is enabled on your server, you can use a range for characters:
RewriteRule ^([A---]+)\.htm$ category.php?slug=ru
To record a phrase, you will use it (as in English):
RewriteRule ^([A---]+)\.htm$ category.php?slug=$1
Another way is language detection
In addition, if you use a dynamic language on the server, you can use REQUEST_URI var to parse and determine the intended language, since Apache serves content and programming languages โโ(like PHP or Perl), can do more with parsing.
source share