gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] still having a hard time with address input and Searc


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] still having a hard time with address input and Search
Date: Sat, 24 Sep 2011 09:30:05 +0200

> >> Can the code which decides which widget to call upon do
> >> 
> >> If country = GB or IE or CA or AU or US or CN or TW
> >> 
> >>    use an alternate widget in which the sequence is
> >> 
> >>    address number | unit
> >>    street
> >> 
> >> else
> >> 
> >>    use the current widget in which the sequence is
> >> 
> >>    street
> >>    address number | unit
> >> 
> >> ??
> > 
> > Let me think ...
> > 
> > Yes, that should be possible.
> 
> Would the country be best derived from the last two characters of locale?

In a way. I wouldn't fixate on deriving it from *country* but rather
from locale per se, so: de_DE, de_AT, en_CA, etc.

> Does Windows support (or have an equivalent for) locale?

It does have something like that but it is entirely non-standard,
as usual.

Karsten

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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