[Mono-osx] Localization

flohei flo at rootof.net
Mon Jun 27 09:36:41 EDT 2011

Hi Michael,

thanks for the hint. So what I have to do is remove all my xibs first, move them to the en.lproj, copy them to de.lproj and whatever I have, rewrite the strings and then? How do I re-add them to the MonoMac project? I think this approach screws the order of the files up, right? When I drag a new xib to my project the corresponding files are not automatically added, right?

Thanks a lot

On 26.06.2011, at 13:59, Michael Hutchinson [via Mono] wrote:

> On Wed, Jun 8, 2011 at 11:25 PM, flohei <[hidden email]> 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 
> http://mjhutchinson.com
> _______________________________________________ 
> Mono-osx mailing list 
> [hidden email] 
> http://lists.ximian.com/mailman/listinfo/mono-osx
> If you reply to this email, your message will be added to the discussion below:
> http://mono.1490590.n4.nabble.com/Localization-tp3583789p3625823.html
> To unsubscribe from Localization, click here.

View this message in context: http://mono.1490590.n4.nabble.com/Localization-tp3583789p3627736.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110627/44f3ceae/attachment.html 

More information about the Mono-osx mailing list