Website Translation
Moderator: General Moderators
Website Translation
Hi
Is there any php software which you can buy which will display your website into a different language ?
so for english version it would be mysite.com
for the spanish version it would be mysite.com/spanish
Which would have a script/software that will display in spanish.
Any ideas ?
Is there any php software which you can buy which will display your website into a different language ?
so for english version it would be mysite.com
for the spanish version it would be mysite.com/spanish
Which would have a script/software that will display in spanish.
Any ideas ?
http://world.altavista.com/
=> bablefish
=> bablefish
That's not php software you can buy and put on your site, ghost. But that is probably the best bet for translating entire sites.
There is also the option to do what I've seen done in some major open source apps (I think even this forum). Most words displayed on the site will be within a translate("text text text", "language") type of function. Then language can be controlled by a users preference in the database, or a global variable within a config file.
eg.
the translate function would then query a database and pull up the transation for that specific word.
This is limited to menus and other 1 or 2 word phrases. I've never seen it done on a full scale (huge paragraphs) before.
There is also the option to do what I've seen done in some major open source apps (I think even this forum). Most words displayed on the site will be within a translate("text text text", "language") type of function. Then language can be controlled by a users preference in the database, or a global variable within a config file.
eg.
Code: Select all
<?php
$lang = array();
$lang[0] = "en";
$lang[1] = "de";
$lang[2] = "es";
// etc..
translate("Welcome", "$lang[1]");
?>This is limited to menus and other 1 or 2 word phrases. I've never seen it done on a full scale (huge paragraphs) before.
- mrvanjohnson
- Forum Contributor
- Posts: 137
- Joined: Wed May 28, 2003 11:38 am
- Location: San Diego, CA
check out this class from PHP Classes - http://www.phpclasses.org/browse.html/package/1389.html
This class is meant to translate text between different languages using Altavista Babelfish remote service via the Web.
Just pass to the class a text string in any of the supported idioms and obtain it translated to another supported idiom.
Currently, the supported idioms are: English, Chinese, French, German, Italian, Japanese, Korean, Portuguese and Russian
Quite useful
Mark
This class is meant to translate text between different languages using Altavista Babelfish remote service via the Web.
Just pass to the class a text string in any of the supported idioms and obtain it translated to another supported idiom.
Currently, the supported idioms are: English, Chinese, French, German, Italian, Japanese, Korean, Portuguese and Russian
Quite useful
Mark
Ok OK steady on lads.
http://www.rohitab.com/cgiscripts/translingo.html
one file to config thats it - your site is multilingual
If you choose different engines when making the link for the translation ( all explained in the files ) there is one which has no banner.
OH and its free!!!!!
http://www.rohitab.com/cgiscripts/translingo.html
one file to config thats it - your site is multilingual
If you choose different engines when making the link for the translation ( all explained in the files ) there is one which has no banner.
OH and its free!!!!!
nice it can be usefull but will use other tranlation services which are payable if you want to use them on commercial website. And once you pay they provide you with the necessary code.
"you should have look at the Terms of Use of the translation service"
thx for the info but will have to keep my job
siech
"you should have look at the Terms of Use of the translation service"
thx for the info but will have to keep my job
siech
-
markbeadle
- Forum Commoner
- Posts: 29
- Joined: Tue Dec 02, 2003 2:50 am
- Location: Aachen, Germany
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
..and that shows!!leebo wrote:http://www.rohitab.com/cgiscripts/translingo.html
one file to config thats it - your site is multilingual
OH and its free!!!!!
My god, those translations are worse than what babelguppy comes up with! Or IS it babalguppy?