Fwd: Multi-language and Smarty
| From: | Konstantin Boshnyaga | Date: | Tue, 29 Jan 2002 11:36:57 +0000 |
| Subject: | Fwd: Multi-language and Smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2594@lists.php.net to get a copy of this message | ||
i use prefilter function and store all language text in one
template.
like this:
<a href="test.php">{ru}Òóð ïî êèòàþ{/ru}{en}China
tour{/en}{ro}Versiunea romana{/ro}</a>
prefilter function in compile stage leaves only one language.
Current language is compile_id.
===8<==============Original message text===============
Hello!
I will shortly begin work on a very large portal-type site for a local
city that has to be made available in at least 2, but probably more,
languages. I will be using Smarty for this site. Have you already developed
multi-language sites using Smarty? What is the best approach?
Thanks!
-----------------------
Alain Fontaine
Consultant & Developer
VAlain S.A.
Tél: +32-4-2522950
-----------------------
---
You are currently subscribed to smarty as: ameoba32@mail.ru
To unsubscribe send a blank email to $subst('Email.Unsub')
Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/
===8<===========End of original message text===========
--
Best regards,
Konstantin mailto:ameoba32@riscom.net