Swedish transaltion update and How to use locale?

Linus Torvalds torvalds at linux-foundation.org
Thu Oct 18 13:45:34 PDT 2012


On Thu, Oct 18, 2012 at 1:00 PM, Johnny <yggdrasil at gmx.co.uk> wrote:
>
> Incidentally, being completely inept, I can't run subsurface in Swedish
> locale? From the CLI I do:

This works for me on F17:

    LANG=sv_SE.UTF-8 subsurface

but it currently *only* works if you run it from the subsurface source
directory (or, I guess, in /usr), for the reason that was mentioned
elsewhere on the mailing list: subsurface on Linux sets the gettext
domain path to "./share/locale",

Simply removing the "bindtextdomain()" call in main.c fixes it for me
on Linux, but I have no idea what that does on other platforms...

                 Linus


More information about the subsurface mailing list