Re: [SMARTY] Internationalization
| From: | Monte Ohrt | Date: | Mon, 27 Jan 2003 22:17:12 +0000 |
| Subject: | Re: [SMARTY] Internationalization | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7353@lists.php.net to get a copy of this message | ||
I think some are using a compile_id for each language. That way you get
a separate set of compiled files for the same set of templates.
Monte
On Mon, 2003-01-27 at 15:12, Andrew S. Nagy wrote:
> I was reading a thread about internationalization that took place in July
> and august of 2002, I am trying to design a large scale web application
> using multiple languages. I don't want to have a template for each
> language, because that can get very messy considering I have two sets of
> templates already for 2 different look and feels.
>
> Has anyone accomplished this feat? I was wondering if anyone has any ideas
> on an implementation of gettext for smarty?
> For now I am planning to create a large associative array, but it would be
> nice to follow some sort of standard. Has anyone tried running gettext on
> tpl files?
>
> I tried looking into the binary cloud information, but I couldn't find too
> much in the documentation. Maybe I'll download it and take a look at the
> code.
>
> Could this be a new possible feature in smarty, a gettext implementation?
>
>
>
> ____________________________________________
> Andrew S. Nagy
> Lead Applications Developer
> Living SchoolBook
> (315) 443-3450
> http://lsb.syr.edu
--
Monte Ohrt <monte@ispi.net>