Re: [PHP-DEV] Re: python dictionary-like % (percent) substitution in php (was: Good idea in % (percent) substitutions in string)

2001-09-03 Thread Marcus
"Wez Furlong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On 03/09/01, "Marcus" <[EMAIL PROTECTED]> wrote: > > first: when handling multilanguage support you will of cause have > > an array of supported languages like $languages=array("en_GB","de_DE"...) >

Re: [PHP-DEV] Re: python dictionary-like % (percent) substitution in php (was: Good idea in % (percent) substitutions in string)

2001-09-03 Thread Wez Furlong
On 03/09/01, "Marcus" <[EMAIL PROTECTED]> wrote: > first: when handling multilanguage support you will of cause have > an array of supported languages like $languages=array("en_GB","de_DE"...) [...] Why not use gettext()? something like this: setlocale(LC_ALL, "en_GB"); bindtextdomain("mytransla