Re: Localizing User Data
Re: Localizing User Data
- Subject: Re: Localizing User Data
- From: Uli Kusterer <email@hidden>
- Date: Sat, 15 Apr 2006 15:26:40 +0200
Am 15.04.2006 um 14:55 schrieb Matteo Manferdini:
I am writing an application that will be delivered with some data
already present in it. The application will manage data using core
data. The problem is I don't know how to localize text present in
the data. Since it's not embedded in application source code, i
cannot jus use localized strings.
does anyone have suggestions? Thank you.
Who says you can't ? You can pass *any* string to NSLocalizedString
(), whether it's from your data dictionary or elsewhere.
But that's not really an optimal solution. What kind of data is this?
In many cases it makes sense to just have a different version of
the file containing this data for each localisation. Unless there is
a lot of non-localised data in the file that would be duplicated.
Another alternative is to make your file format itself localisable,
or to have placeholders and replace these with localised data if it's
e.g. a template document.
I'm just guessing here, you're not telling us enough to go by.
Cheers,
-- M. Uli Kusterer
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