[Mono-osx] Culture not being set when application is run via the .app

Andrew Bryson abryson at rm.com
Wed Aug 18 11:07:15 EDT 2010

Hi all,

I've got a .NET 2.0 Win Forms application which reads strings from a set of
resource files, 1 per culture.  My application works well in Windows, where
the expected string for the current culture is rendered.

On Mac OS X 10.5 and 10.6, the application has been packaged using
'macpack', giving our users a nice .app to double click to access the

The problem is that the culture isn't being set (so I'm not seeing the
correct strings) when the application is run via the .app, but if I execute
$/<.app>/Contents/Resources<MyApp.sh> directly then the culture is set, and
I do see the correct strings.

Does anybody know what's going on?  My Info.plist file is pretty minimal and
only defines:
- CFBundleExecutable
- CFBundleIconFile
- CFBundleIdentifier

Hope somebody can help.

View this message in context: http://mono.1490590.n4.nabble.com/Culture-not-being-set-when-application-is-run-via-the-app-tp2329986p2329986.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list