Thanks Thomas. Will take a look into the docs in the trunk tonight. Best regards holo
2008/1/22, Thomas Weidner <[EMAIL PROTECTED]>: > Take a look into the new documentation for the upcoming 1.5 in the trunk. > All what holo or you have mentioned was already written within it since > about 4 weeks. > > Greetings > Thomas Weidner, I18N Team Leader > http://www.thomasweidner.com > > > > ----- Original Message ----- > From: "Eric Coleman" <[EMAIL PROTECTED]> > To: "Thomas Weidner" <[EMAIL PROTECTED]> > Cc: "holografix ." <[EMAIL PROTECTED]>; <[email protected]> > Sent: Tuesday, January 22, 2008 1:06 PM > Subject: Re: [fw-general] Zend Locale - getCountryTranslation() > > > > Thomas, > > > > Not to be mean or anything, but I really think that "holografix" is on to > > something. There's a -ton- of useful information available within > > Zend_Locale_Data, it's just that it appears not clear enough or something > > in the documentation. I used the class a few times before I realized how > > much data really is contained within the beast. > > > > Regards, > > Eric > > > > > > On Jan 22, 2008, at 6:56 AM, Thomas Weidner wrote: > > > >> Of course you will not have all parameters documented within the > >> documentation. > >> > >> But you could look into the API doc, where you will have ALL parameters > >> and methods documented. > >> This is the default way for looking about detailed informations for > >> methods. > >> > >> /** > >> * Returns the localized country name > >> * > >> * @param string $what Name to get detailed information about > >> * @param string $locale OPTIONAL locale for country translation > >> * @return array > >> */ > >> > >> It's all there. :-) > >> > >> Greetings > >> Thomas Weidner, I18N Team Leader > >> http://www.thomasweidner.com > >> > >> > >> ----- Original Message ----- From: "holografix ." <[EMAIL PROTECTED] > >> > > >> To: <[email protected]> > >> Sent: Tuesday, January 22, 2008 12:46 PM > >> Subject: Re: [fw-general] Zend Locale - getCountryTranslation() > >> > >> > >>> Hi > >>> Thank you very much the help. > >>> I agree with you Thomas. There is no need of an explicit example for a > >>> simple function that returns a string but in the current docs we read > >>> getCountryTranslation($what, $locale = null); (what is $what?) and > >>> believe that I wouldn't ask for help if I read > >>> getCountryTranslation($country_iso_code, $locale = null);. Just a > >>> simple change in the docs. > >>> Thank you again. > >>> > >>> Best regards > >>> holo > >>> > >>> 2008/1/21, Thomas Weidner <[EMAIL PROTECTED]>: > >>>> If you wait some days for the release you will get the new additional > >>>> documentation to this and related functions. > >>>> > >>>> Generally as can be seen by the method name you will get a country > >>>> translation which means give a Country in ISO and get the translated > >>>> string > >>>> for this country returned. > >>>> > >>>> $loc = new Zend_Locale(); > >>>> print $loc->getCountryTranslation('DE', 'en_US'); > >>>> > >>>> Generally I don't think that an explicit example is needed for a > >>>> simple > >>>> string returning function... > >>>> > >>>> Greetings > >>>> Thomas Weidner, I18N Team Leader > >>>> http://www.thomasweidner.com > >>>> > >>>> ----- Original Message ----- > >>>> From: "holografix ." <[EMAIL PROTECTED]> > >>>> To: <[email protected]> > >>>> Sent: Monday, January 21, 2008 6:41 PM > >>>> Subject: [fw-general] Zend Locale - getCountryTranslation() > >>>> > >>>> > >>>> > Hi > >>>> > > >>>> > Can someone help with this function? > >>>> > getCountryTranslation($what, $locale = null); > >>>> > > >>>> > It's missing a small example about this function in the docs. > >>>> > > >>>> > Best regards > >>>> > holo > >>>> > >> > >
