logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Language Translation
Author
peacemaker



Joined: 23 May 2008
Posts: 80

PostPosted: Mon 21 Sep '09 14:49    Post subject: Language Translation Reply with quote

Hi all
How to make web site multilingual. Any suggestions appreciated.
Any tool or script will be more helpful
Thanks in advance.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Mon 21 Sep '09 16:54    Post subject: Reply with quote

The easiest way is to build to separate pages.
Easier to maintain would be a template based page there you can load different languages to the place holders.
Back to top
peacemaker



Joined: 23 May 2008
Posts: 80

PostPosted: Tue 22 Sep '09 7:05    Post subject: Language Translation Reply with quote

Hi James
Thanks for reply
Actually thats true , but how to do that means, where i can get help related to converting the pages from one language to other, is there any chance, i can get any help for that. or any good paid service so that i can offer to customer for that, or any free code, if available,
Thanks for help in advance.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Sep '09 14:24    Post subject: Reply with quote

So you want translate the content not the source code? Which languages do you need?
Back to top
peacemaker



Joined: 23 May 2008
Posts: 80

PostPosted: Wed 23 Sep '09 8:04    Post subject: TRanslation Reply with quote

Hi james
I really sorry for the wrong wording regarding code or site.
Yes ur rt, i want my site to be viewable in 5-6 different languages.
http://www.online-tech-tips.com/
look at this site in bottom u can see different flags and on clicking that can see the site in different languages,on this site very few content gets converted so i would like to make whole site should change.
Is there any source i can do that.
Thanks in advance
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Wed 23 Sep '09 11:59    Post subject: Reply with quote

I reviewed only the german and the french content. It seems there is a automatic translation like google or what. I have no experience with such a thing.

I think if you google a bit, you'll find a solution

a good start is google:php language translation
Back to top
Thog



Joined: 12 Feb 2007
Posts: 75
Location: Montreal

PostPosted: Wed 23 Sep '09 23:42    Post subject: Reply with quote

I have all my language inside the code and have a language editor which parses the php files and allows for easy editing (the editor rewrites the php files with the new language)...

Code:

<?php echo lang("English", "French", "Spanish"); ?>


The lang function determines the language from the URL...

http://www.rave.ca/en/intro_nightlife/ would be English...
http://www.rave.ca/fr/intro_nightlife/ would be French...
http://www.rave.ca/sp/intro_nightlife/ would be Spanish...
Back to top
peacemaker



Joined: 23 May 2008
Posts: 80

PostPosted: Thu 24 Sep '09 7:16    Post subject: Hi Reply with quote

Hi Thog
Thanks for the reply. But can i know how u did that, if u dnt mind to tell plz.
the things u did same way i want like the page should be automatically prases and no google toolbar come or any other translator. So can u please let me know, how its done.
else any sort of suggestion plz.
Actually i need at least
Thanks in advance
Back to top


Reply to topic   Topic: Language Translation View previous topic :: View next topic
Post new topic   Forum Index -> Apache