Skip to content

Set Language Info from CLI #18

Open

Description

By default, the language is set as English US.

For those of us that are outside of the US, is there a way to set the language from the CLI, assuming we know the language / sub_lang hex codes ?

Currently, the locale code is hardcoded in rcedit.rc

BLOCK "VarFileInfo"
BEGIN
    VALUE "Translation", 0x409, 1200
END

Where 0x0409 == 1033 == en_us and 1200 == 1.2.0.0 version.

SetVersionString() is only exposing the1200 part (i.e. the version) in main.cc, but there is the an extended version of the function SetVersionString() in rescle.cc.

Please allow us to pass locale codes from CLI (in hex or decimal or en_au format doesn't matter).

If there is already a way to do this, please explain. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions