You can enable strict_mode, where only the exact allowed locales will be matched. For example:
- If your user has a browser locale with
de_DEandde, and you only explicitly allowde, the localedewill be chosen. - If your user has a browser locale with
deand you only explicitly allowde_DE, no locale will be detected.