bug-gnustep
[Top][All Lists]
Advanced

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

Re: Euro support in GNUstep


From: Martin Brecher
Subject: Re: Euro support in GNUstep
Date: Mon, 07 Jan 2002 13:39:53 +0100

Hi, -

quick idea: 
1. rename the old Language files to e.g. 'German.old', and have the file 
'German' include the new values.
2. introduce defaults setting like GSLoadOldLanguageFiles yes/no. 
3. a) If setting is 'yes' try to load e.g. 'German.old' and fall back to 
'German' if it does not exist. OR load 'German' first and then load 
'German.old' (if it exists) so that German.old has to contain only the old 
currency related strings which will replace the ones loaded before from file 
'German'. (the second approach seems better to me)
    b) if setting is 'no' just proceed as normal and load e.g. 'German'.

Don't know whether this is of any use or whether its too much overkill to 
implement. From March 1st the Euro is the only used currency in those countries
anyway. 

As the above idea would be a very general implementation, having this option 
might prove useful in the future. For example when other strings are changed 
because of e.g. a language reform and we have again a time span where both 
variants of a string can be used.  

Greetings,
Martin

On 2002-01-06 16:59:29 -0700 Adam Fedor <fedor@doc.com> wrote:

> Martin Brecher wrote:
> 
> > Hi Adam, -
> > 
> > since you're planning to do a release of GNUstep core very soon I'd like to

> > propose a switch of the Language files to be Euro-compliant as since Jan 
1st 
> > the Euro is the only official (as defined by law) currency in the involved 
> > countries.
> > 
> > The following changes should do the trick (since we don't have a Euro 
symbol 
> > yet):
> > 
> > NSCurrencySymbol = "EUR";
> > NSInternationalCurrencyString = EUR;
> > NSPositiveCurrencyFormatString = "EUR9,999.00";
> > NSNegativeCurrencyFormatString = "EUR-9,999.00";
> > 
> > 
> > Taking a look at the /System/Libraries/Resources/Languages dir, the 
following 
> > files need to be changed:
> > Dutch French German Italian
> > 
> 
> 
> If I make this change is it going to mess up any programs that expect 
> the local currency (i.e. conversion programs)?  I suppose it is not used 
> that much but it seems like it might be nice to either have a new set of 
> strings for the Euro or at least have a set of strings for the old 
> currency for compatibility.
> 
> 
> 
> -- 
> 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.
> 
> 





reply via email to

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