Re[4]: [PEAR-DEV] Translation2 ...
| From: | Nicolas Hoizey | Date: | Wed, 25 Feb 2004 22:24:37 +0000 |
| Subject: | Re[4]: [PEAR-DEV] Translation2 ... | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25871@lists.php.net to get a copy of this message | ||
hi,
>>>> 1. String retrival process
>>>> --------------------------
>> [...]
>> Your method is the following:
>> 1. pageId parameter is null, so you get current pageId.
>> 2. there is no string for current pageId, so you get global
>> fallback string.
>>
>> The method I would like to have is:
>> 1. pageId parameter is null, so you get current pageId.
>> 2. there is no string for current pageId, so you try with no
>> pageId. 3. there is no string either for no pageId, so you get
>> global fallback string.
>
> I see. Anyway, if I manage to build what I have in mind, everything
> will be customizable.
OK ;)
>>>> 2. Language parameters
>>>> ----------------------
>> [...]
>> Why not just use as many fields as wanted?
>
> because I haven't thought about that yet! :-)
That's a good reason ... ;)
> so I hope to hear you again, then!
You will, I really want to use Translation2 instead of my own piece of
code, if it can do what I need... ;)
Regards,
-Nicolas
--
Nicolas "Brush" HOIZEY
Free PHP projects http://www.phpheaven.net
Veille tous azimuts http://www.gasteroprod.com
Clever Age http://www.clever-age.com