[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: base library Localizable.strings
From: |
Adam Fedor |
Subject: |
Re: base library Localizable.strings |
Date: |
Wed, 19 Dec 2001 12:22:08 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20011009 |
Nicola Pero wrote:
But work on this has already been initiated in the base library, except
the file is called Localizable.strings - this doesn't look right, because
the gui library will have its own file and it must go in the same
directory - so I would rather call them something like
BaseLocalizable.strings
GuiLocalizable.strings
XgpsLocalizable.strings
or something similar (suggestions welcome).
Can I rename the base library Localizable.strings to
BaseLocalizable.strings ? Any reasons why I shouldnt' ?
It's tough because we don't have the libraries stored as frameworks. At
least you'll have to change the table name internally in the base
library (like in NSString.m).
I think it would be rare for a developer to access the base/gui/etc
licalized strings, but it could happen. I don't know how to handle that.
Perhaps when someone tries to get the localized strings for a particular
"framwork", NSBundle would internally translate the table to the correct
one, e.g.
str = [[NSBundle bundleForClass: [NSString class]]
localizedStringForKey: NSASCIIStringEncoding
value: nil
table: nil]
would get the correct table (BaseLocalizable.strings).
--
Adam Fedor, Digital Optics | I'm glad I hate spinach, because
http://www.doc.com | if I didn't, I'd eat it, and you
http://www.gnustep.org | know how I hate the stuff.