Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Wrong keyboard language #54

@fxha

Description

@fxha

Description

This is an issue with the library and not Atom. getCurrentKeyboardLanguage returns the OS language on Windows (10) instead the keyboard language.

Steps to Reproduce

Let's say your OS language is Germany and using a German keyboard layout. getCurrentKeyboardLanguage() will report de-DE as keyboard language but if you switch to another keyboard layout the reported keyboard language is still de-DE.

Expected behavior:

Keyboard language should match the language of the selected keyboard layout.

Actual behavior:

German OS language + German keyboard layout:

  • Layout: 00000407
  • Language: de-DE

German OS language + France keyboard layout:

  • Layout: 0000040C (France)
  • Language: de-DE

Reproduces how often:

Always

Versions

keyboard-layout v2.0.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions