Run cmd.exe then type “powershell”
Enter the following command:
$LanguageList = Get-WinUserLanguageList
$LanguageList.Add("fr-FR")
Set-WinUserLanguageList $LanguageListAnd select yes on the following prompt
example:
Then on the bottom of the screen select you language

src : https://www.anoopcnair.com/best-ways-to-change-keyboard-layouts-windows-11