Re: Country-specific functions

From: Date: Wed, 01 Aug 2001 23:15:13 +0000
Subject: Re: Country-specific functions
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1219@lists.php.net to get a copy of this message
Alexander Merz wrote: > > Torsten Kracke and i write at present at a class to validate bank account > number. > Naturally this is a country-specific function, so how could we handle this? > > I think something like Payment_german_KtoCheck > > 'Kto' (german) = 'account' "German" is a language or an adjective, what you want is "Germany" the country or maybe just the two-letter ISO 3166 code ("de"). I think Payment_Germany_Something and I18N_de_Something are good options. Which option is best depends on how maintainance will work, if there is a "dedicated German" who will maintain an I18N_de package, that's probably the best option... - Stig

« previous php.pear.dev (#1219) next »