Ok so I want to create a bi lingual site. When a user is on a page and they change language, I want it to go to the same page in a different language.
This will be done by linking to the a page with the same name within a different directory (each lang has its own directory)
Is there some code I can use to do this automatically without having to manually add the links to different languages on each page?
thanks
Bi Lingual Site
Started by
Guest_changoo_*
, Nov 18 2010 12:50 AM
2 replies to this topic
#1
Guest_changoo_*
Posted 18 November 2010 - 12:50 AM
Guest_changoo_*
|
|
|
#2
Posted 18 November 2010 - 01:03 AM
You can do this fairly simply in PHP, are you able to use that on your site?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 23 November 2010 - 09:45 PM
Define all your base structures in PHP, create two tables in the same database that have similar values...
<?php>
spanish();
</?php>
Easiest way I could think of.. Otherwise, create two tables with the same install.. same design, but two separate languages..
<?php>
spanish();
</?php>
Easiest way I could think of.. Otherwise, create two tables with the same install.. same design, but two separate languages..


Sign In
Create Account

Back to top










