[Mono-osx] Localization

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Jun 26 07:59:02 EDT 2011

On Wed, Jun 8, 2011 at 11:25 PM, flohei <flo at rootof.net> wrote:
> in Cocoa I would normally use NSLocalizedString or, for resources, right
> click them and add a localization. So what is the proper way to do that in
> MonoMac?

Same way as Cocoa, create a [langcode].lproj subdirectory for your
localized resources and have them copied into the app bundle by
marking them as Content, and use
NSBundle.MainBundle.LocalizedString(key,comment) to get strings from
the strings file.

Michael Hutchinson

More information about the Mono-osx mailing list