language selection in Windows

Lubomir I. Ivanov neolit123 at gmail.com
Mon Jun 17 06:14:10 PDT 2013


On 16 June 2013 12:55, Krzysztof Arentowicz <karent.bug at gmail.com> wrote:
> Hi,
>
> I was contacted by a user of Subsurface 3.1 who experienced a problem
> with language selection.
> He's running Windows 7x64 (Polish) on two of his machines, one
> Professional and one Home Premium. On the first one Subsurface correctly
> installed in Polish, on Home Premium it was in English.
> Of course he was unable to change the language.
>
> Setting language based on OS setting is fine in Linux but in Windows,
> where the user is most often tied to a single OS language version, it is
> generally expected by users to be able to able to choose language inside
> a given application.
>
> I think this would be sensible to include such functionality, at least
> in Windows version.
>
> Speaking from my own experience, I am also affected by this as one of my
> laptops is provided by my employer with English Windows version and I am
> unable to switch Subsurface to use my native language on that machine,
> even though it is supported.
>

we can expose a --lang=xx_XX command line argument for Windows, where
xx_XX is one of the bundled languages.
here is a patch proposal, but i cannot test it as currently i cannot
compile on any OS. patch changes the initialization order in main.c,
so i doubt i got that right blindly.

feel free to compile, modify, test, sign-off by yourself giving credit or not.

later the NSIS installer can have the list of available languages,
where selection is made by the user and the .exe shortcuts can have
the argument included. the list part i do not know how to do,
honestly.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-the-lang-command-line-argument.patch
Type: application/octet-stream
Size: 4987 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130617/aba27e0c/attachment.obj>


More information about the subsurface mailing list