discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

convenience method for creating locales?


From: David Wetzel
Subject: convenience method for creating locales?
Date: Tue, 19 Apr 2005 15:26:26 +0200

Hi folks,

NSCalendarDate has descriptionWithCalendarFormat:locale: which needs a locale.

Imagine I have a web application that needs a German (DE) locale for some 
sessions, for some a DE-AT 
(January is 'Jänner' in Austrian not 'Januar' like German) and for some EN to 
name a few.
It does not matter what the locale of the current user process is.

Is there something like

// name is 'DE' or 'FR' or 'DE-AT'...
+ (NSDictionary*) localeWithName:(NSSting*) shortName

This should contain all data to create a localized NSCalendarDate.

Any hints?

Thank you.

---
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]