|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
NewfieBilko Smarty Regular
Joined: 21 Jun 2004 Posts: 41
|
Posted: Mon Jun 21, 2004 6:43 pm Post subject: Smarty Internationalization. Help!!! |
|
|
Hey guys, I have installed Smarty very well, and must say I absolutly love it. But now i've come to the point where I need to internationalize. I need to make it so the site is viewable in many languages..
So i proceeded in downloading Johns IntSmarty Article off of phparch, and installed this plugin. But I am having difficulities.. I have setup a basic file like he has said but reviece the following errors:
Fatal error: input in flex scanner failed in /var/www/php2/Smarty on line 1
Warning: Missing argument 1 for loadlanguagetable() in /var/www/php2/Smarty/IntSmarty.class.php on line 76
Here is my code from internional.php
Code: |
<?php
require_once('Smarty/IntSmarty.class.php');
$smarty= new IntSmarty();
$smarty->_determineLangs();
$smarty->loadLanguageTable();
$smarty->display('international.tpl');
$smarty->saveLanguageTable();
?>
|
We'll besidses all that, i've even tried his sample, but to no eval, i'll still get the
Fatal error: input in flex scanner failed in /var/www/php2/Smarty on line 1
error...
What am I to do. I need to internationalize my site, but can't get this working.. Maybe someone could help, or suggest another way to internationize |
|
Back to top |
|
NewfieBilko Smarty Regular
Joined: 21 Jun 2004 Posts: 41
|
Posted: Tue Jun 22, 2004 11:06 am Post subject: |
|
|
There needs to be more attention to Internationalization of Smarty!!!! IntSmarty needs documentation!!! |
|
Back to top |
|
kills Smarty Elite
Joined: 28 May 2004 Posts: 493
|
|
Back to top |
|
NewfieBilko Smarty Regular
Joined: 21 Jun 2004 Posts: 41
|
Posted: Wed Jul 07, 2004 5:20 pm Post subject: |
|
|
this does not help me.
I have read both versions, SmartestSmartyInternationaizaion and the other one. Both just confuse me
Whats with the language thing already built into Smarty? Will this interfeer with my installation of IntSmarty? How can I make IntSmarty a working subclass of Smarty? I need help |
|
Back to top |
|
NewfieBilko Smarty Regular
Joined: 21 Jun 2004 Posts: 41
|
Posted: Wed Jul 07, 2004 5:34 pm Post subject: |
|
|
I will pay someone $50-100 US over paypal if they can present to me a working internationized Smarty system in which the user can choose from a menu which lanugage he/she wants to view the site in. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|