Skip to content

Language handler: update unknown languages dictionary to only include Aragonese and possibly others not listed in LCID as of 2018 #8489

@josephsl

Description

@josephsl

Hi,

Background

Continuing from #8488: thanks to native support for kernel32.dll's LocaleNameToLCID function, some of the languages listed in descriptions map are now recognized apart from Aragonese (as to why, see #6259(.

Steps to reproduce:

On Windows 7 SP1 and later, run the following code from Python Console:
import winKernel; winKernel.kernel32.LocaleNameToLCID(unicode(langName), 0)
Where "langname" is one of the following: "am", "an", "ar", "ne", "sr".

Actual behavior:

Apart from "an", proper descriptions are returned.

Expected behavior:

Apart from "an" (Aragonese), descriptions are returned via Windows.

System configuration:

NVDA Installed/portable/running from source:

Installed

NVDA version:

Alpha.5495

Windows version:

Windows 7, 8.1, 10 (various releases)

Name and version of other software in use when reproducing the issue:

N/A

Other information about your system:

N/A

Other questions:

Does the issue still occur after restarting your PC?

N/A (not applicable)

Have you tried any other versions of NVDA?

N/A (not applicable)

Caveat

As noted in the next issue, certain language descriptions are part of Windows 10, so these should also be included.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions