translation
| From: | Monte Ohrt | Date: | Thu, 09 Aug 2001 18:55:27 +0000 |
| Subject: | translation | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1322@lists.php.net to get a copy of this message | ||
I'm not currently in any projects that require translation, so my input
would be like blind leading the blind :-) Any one out there using Smarty
for translation?
Hans-Peter Oeri wrote:
>
> Hi!
>
> Quoting Monte Ohrt <monte@ispi.net>:
>
> > My question is, what should the name be? Will "now" make sense for
> > everyone?
>
> I think "now" is just fine. Especially if we do not know HOW it is used
> (passed to dateformat)
>
> > Also, "now" would actually be the current date and time, a unix
> > datestamp for passing to date_format. Sound good?
>
> A must! Everything else is against all internationalization!
>
> Talking about feedback and internationalization:
>
> Some time ago, I posted a SUGGESTION on how to enable smarty to handle
> translation in templates. The approach, I think, was generic enough not to
> interfere with those not needing translations (or enough performance to
> translate after compilation and no need for vars in the translated strings).
> Furthermore, the framework could well be used for other uses. (Just as an
> idea: one could even stack different smarty processors in order to have a
> "half-compiled" template!)
>
> If one doesn't use that framework, the overhead should be neglectable (just
> passing one more parameter in some places (in the running environment)).
>
> Unfortunately, I got almost no feedback... Was my suggestion that stupid, was
> my intention not clear enough or am I the only one who likes this generic
> approach? If it annoys anyone on the list, please tell me.. I'm bringing it up
> again and again because translations are important for me ;)
>
> Don't conform!
> IkKampfCaspar75
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/