Re: [Proposal] On-the-fly NIB localization
Re: [Proposal] On-the-fly NIB localization
- Subject: Re: [Proposal] On-the-fly NIB localization
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 16 Nov 2004 13:35:21 +0100
At 20:30 Uhr -0500 15.11.2004, Moses Hall wrote:
What I'd like to see is localization for UI elements in NIB files when
they are loaded. Specifically, placeholders for these common labels,
menu items, and whatnot, that can be replaced with localized strings at
the time a NIB is loaded
While this works fine for menus, which auto-size, the difference in
length between different languages makes this approach kind of
impracticable. You'd constantly have a two-word string on the title
of a 300-pixel button or an 80-pixel button that clips its long title.
Also, it would slow down the entire system, because you're simply
transferring load from the hard disk onto the CPU. And these days,
with all the caches and lookaheads, the hard disk is the less
expensive bottleneck to get rid of.
I'd rather suggest you look at Florent Pillet's excellent PowerGlot.
I haven't used it in a while, but it basically lets you set up
dictionaries and then performs automatic translations of words it's
already encountered. Works pretty nicely for the apps themselves,
even though last I checked it really could have used some support for
localizing HTML help files.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden