Jump to content

Bi Lingual Site

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Guest_changoo_*

Guest_changoo_*
  • Guests
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

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
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.

#3
H3LIOS

H3LIOS

    Newbie

  • Members
  • PipPip
  • 12 posts
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..