Windows does not automatically “detect” the physical language of a peripheral keyboard. Instead, a matching keyboard layout must be added and then manually selected or switched to.
To use a French Swiss or German-layout external keyboard when the built‑in keyboard is different, add the corresponding keyboard layout in Windows and switch layouts when using that keyboard:
- Open Settings.
- Go to Time & language > Language & region.
- Under Language, find the current Windows display language.
- Select the … menu next to it and choose Language options.
- Under Keyboards, select Add a keyboard.
- Scroll the list and select the keyboard layout that matches the external keyboard (for example, a Swiss French or German layout, depending on what is printed on the keys).
- Once added, use the taskbar input indicator or the keyboard shortcut (such as Win + Space) to switch between layouts when changing between the integrated and external keyboard.
If the desired layout is not listed under the current display language, select the language that matches the keyboard layout (for example, German or French (Switzerland)) in Language & region, install it if needed, then repeat the steps above to add its keyboard layout.
This approach lets Windows generate the correct characters for the external keyboard even if the integrated keyboard uses a different layout.
References: