Forum / Quick Multilingual Pages 


+   Reply to Thread

Having used longhand php echo statements to insert language array items in bilingual sites, I simply had to use a templating system. RainTPL forms the backbone on my site, http://www.diafol.org. I was so impressed with how easy it was, I've completed a page dedicated to it's use with regard to its use in developing multilingual sites.

Here the link http://www.diafol.org/rain.php#
you right , thanks rain :)
Hi duw,

looked at your project and it works really well. Nice and easy way to implement multiple languages in rain. I had one thing that did not work. The page title as you suggested did not give me anything:
<title>{$lang[$page].title}</title>

I had to use:
<title>{$lang['meta_data'][$page][title]}</title>

Other than that: thanks. It saved me a lot of work.

lleto

+   Reply to Thread