Re: Localization question
Re: Localization question
- Subject: Re: Localization question
- From: Florent Pillet <email@hidden>
- Date: Fri, 2 Jan 2004 12:15:31 +0100
One thing you can do (hint, hint) is get your client to use PowerGlot
(www.powerglot.com), which itself can export items to translate to text
files and import them back to generate the localized files. This would
be much less annoying than having to manually set the localized
contents of each UI item in your code (this is a crazy idea!)
Florent
On 2 janv. 04, at 00:45, Michael Becker wrote:
My client insists on being able to handle all localization via
ASCII-files.
Of course, using NSLocalizedString suits this very well. Furthermore, I
created outlets for each and every GUI-element to set these values in
the
awakeFromNib: method, again using NSLocalizedString.
My problem now is the Application Menu. When in awakeFromNib: I say [[
myMenu itemAtIndex:1] setTitle:@"Foo"]; it obviously sets the title,
but it
seems like I need to perform a redisplay or something, as the "Foo"
doesn't
appear in the menu. I didn't find any redisplay-like method, though...
The general question is: Is there a better way to do this?
--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products for Palm OS & Mac OS X
ICQ: 117292463
http://perso.wanadoo.fr/fpillet
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.