Thursday, February 10, 2011

Change locale for a single invocation?

I know under Linux it's pretty easy to just change e.g. LC_NUMERIC for a single invocation:

LC_NUMERIC=de_DE ./app

Is there a similar way for doing that under Windows for a single application? I don't want change the locale for my whole system.

For details, it's about Songbird which has locale bug when displaying numbers. Until there's a fix I would like just to switch the locale for that application only.

  • Have you tried doing the same thing with environment variables? I don't know if it will work, but you can try the following batch script:

    SET LC_NUMERIC=de_DE
    app
    

    (Or you can use the same Linux command if you're using Cygwin).

    mark : Tried that, all kind of variants, didn't help :-( I searched some time arounnd, nothing, I even couldn't use any information. I get the impression it's not really supported that way ...

0 comments:

Post a Comment