Locale difficulties [was Re: de_CH translation]

Dirk Hohndel dirk at hohndel.org
Tue Oct 16 04:59:42 PDT 2012

Henrik Brautaset Aronsen <subsurface at henrik.synth.no> writes:

> Den 16.10.12 13:43, skrev Dirk Hohndel:
>> So how did you generate the dtruss output (if that's what it was) for
>> starting the App from the desktop? As I was trying to figure out the
>> bundling I realized that the German translation doesn't work when
>> started from the Dekstop, either, so I bet it's the same issue - but I
>> wanted to verify what it tries to load...
> Simple!  I added sleep(3) at the start of main(), started the following 
> one-liner and double-clicked Subsurface.app :)
>    $ while true; do echo -n .; PID=$(ps ax |grep Subsurface.app | grep 
> -v grep | cut -d\  -f1 |head -1 ); if [ "$PID" != "" ]; then sudo dtruss 
> -p $PID; fi; sleep 1; done 2>&1 |tee /tmp/subsurface-desktop

Beautiful. I'll try that :-)

>>>> Ok, are you able to create a patch that implements what you need?
>>> Probably. I'll just need to allocate some time :)
> A patch is on its way in a couple of minutes.

Ok, then I'll stop messing around and wait for that.

Actually, I have a better idea. I'll try to go back to sleep for an hour
or I'll be a complete mess at work tomorrow, err, I mean, in three

>>>> Do you happen to have a Norwegian copy of Windows somewhere with which
>>>> you could verify that theory (after I push out the name change and
>>>> recreate the installer)?
>>> I have an English version of XP in Virtualbox, with Norwegian regional
>>> settings. Maybe that works?
>> I am somewhat unclear what the difference is between an actual (say)
>> German copy of Windows and a US copy of Windows with the German language
>> pack installed. The latter is what I am testing all this with...
>> Anyway, a new copy of subsurface-2.0.1-localized.exe is on my server for
>> download; I should bump the version number to make it easier to keep
>> track of things... next time.
>> The latest (size 8703831) should support Norwegian for you.
> It does!  Great job :)

Good to hear. Getting closer.


More information about the subsurface mailing list