Re: cvs: livedocs / error.php
| From: | Nuno Lopes | Date: | Sat, 01 May 2004 11:11:15 +0000 |
| Subject: | Re: cvs: livedocs / error.php | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360383@lists.php.net to get a copy of this message | ||
> On Sat, 1 May 2004, Nuno Lopes wrote:
>
> > +} else {
> > +
> > + /* TODO: Add all languages here */
> > + $langs = array('en' => 'English',
> > + 'de' => 'German',
> > + 'fr' => 'French',
> > + 'pt_BR' => 'Portuguese (Brazilian)');
>
> How is it an improvement if you need to maintain this array? I don't
> think it's a good idea.
>
> Derick
I did this change because language chooser wasn't working on my pc (maybe
because I use Apache 2).
Maintain this array is not that hard. I think its much more beautiful to
have the names of the languages instead of just 'de', 'en' or 'fr'....
Nuno