htaccess subdomain to "folder" mediawiki

I'm running a mediawiki installation with a "nice" URL htaccess to show https://example.com/Wiki/Page

I'd like to enable localization and translation on subdomains.

I'm thinking https://fr.example.com/Wiki/Page displays content from https://example.com/Wiki/Page/fr, and https://fr.example.com/Wiki/Page2 displays content from https://example.com/Wiki/Page2/fr

I think that should be achievable with .htaccess, but I'm not a mediawiki expert. Is there anyone out there that can help with enabling mediawiki translations on a subdomain like the above? I think it's just an .htaccess question, but not sure what it might break with mediawiki too :)