News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

BabelfishTranslate

Started by JayBachatero, July 17, 2006, 12:56:59 PM

Previous topic - Next topic

Greek

A question.
My page is in greek language and I get errors when is trying to be translated by Babelfish. Perhaps because of character encoding that I use (ISO-8859-7)? I don't know...
I must say that when my page was in UTF-8 was translated without problem.

At this moment I can translate my page only via http://www.worldlingo.com

So, the question is if I it is possible to use this mod with WordLingo.
And if yes, how?

Thanks in advance for ay answer  :)


starsong

Quote from: JayBachatero on January 05, 2007, 12:36:42 AM
yes add it after the footer.

OK I have added it to a bunch of places... I cant figure it out. I feel stupid...
I am adding the zip if you have time to look.

will2b

I have read the replys regarding adding a button to the forum for babelfish but I am new to anything regarding programing and I tried to add the mod with little success.

I am using the babylon template and cant seem to add the button on the same line as the 'search' when looking at the forum. I tried in a couple of places and just got errors or nothing. Could someone please post the actual code needed to add the button so I could just copy past.

I would need to know exactly were to added in as I am using notepad to edit the code.

I also only need english and french so how do I get rid of all the other languages?

Thank you.

Greek

Look at the bottom of my page. Do you mean such buttons?
For this, I use WorldLingo (I think it's better than Babelfish).

URPG

will2b: There is another translation mod based on the code i found... search the forum! It's working well, even with TinyPortal.

Greek: could you post the code for those flags? Or tell us how you created the links? Is it a package by world lingo?

samurai-lupin

Hello,

I love my Bablefish Trabslate box on my SMF forum and therefore also wanted to use it with my new auction website at www.bulletbay.com

I have therefore modified the orginal mod code a bit and puit it in the auction's php header file. Welll, it displays but doesn't parse the actual URL to Buble Fish. So I must have made something wrong.

Could anyone please take a look at it for me and let me know what I need to modify?

This mod is so usefull. I would be sad not to be able to use it on the auction site.

Thank you for any advice,

Christian


<form action="http://babelfish.altavista.com/babelfish/urltrurl?url=' .$scripturl .'" method="post">
<input type="hidden" name="u" value="<?php echo $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']?>">
<select name="lp" onchange="this.form.submit();">
<option value="en_zh">English to Chinese</option>
<option value="en_nl">English to Dutch</option>
<option value="en_fr">English to French</option>
<option value="en_de">English to German</option>
<option value="en_el">English to Greek</option>
<option value="en_it">English to Italian</option>
<option value="en_ja">English to Japanese</option>
<option value="en_ko">English to Korean</option>
<option value="en_pt">English to Portuguese</option>
<option value="en_ru">English to Russian</option>
<option value="en_es">English to Spanish</option>
<option value="fr_en">French to English</option>
<option value="fr_de">French to German</option>
<option value="fr_el">French to Greek</option>
<option value="fr_it">French to Italian</option>
<option value="fr_pt">French to Portuguese</option>
<option value="fr_nl">French to Dutch</option>
<option value="fr_es">French to Spanish</option>
<option value="de_en">German to English</option>
<option value="de_fr">German to French</option>
<option value="ru_en">Russian to English</option>
<option value="es_en">Spanish to English</option>
<option value="es_fr">Spanish to French</option>
</select>
<input type="submit" value="Translate" name="btnTrUrl" />
</form>
</div>

JayBachatero



<input type="hidden" name="u" value="<?php echo $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']?>">

change to


<input type="hidden" name="u" value="', $_SERVER['PHP_SELF'], '?', $_SERVER['QUERY_STRING'], '">



I am no longer supporting this mod.  If someone wants to take over this mod please send me a PM.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

KGIII

I'll take a look and if it isn't TOO complicated I'll PM Jay about it if no one else would like to AND it is something people would like to have still.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

URPG

So we could start talking about this, where it originaly came from, too?
http://www.simplemachines.org/community/index.php?topic=90996.0

I'd still like to have this running and the bugs squished...

KGIII

It is nice to see the history. I'll take a look at it and see what I can find - it may be beyond my ability but Jay's got some good mods and I'd hate to see them die out but I've already got a bunch that I take care of.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

URPG

It's just the original code i found and modified. Jay put it into a package, but somehow we were unable to solve the trouble with the re-translation :(

goitalone

#31
I about to abandon this mod too, as it is cool up to the point where the user gets logged out.

Would be perfect (other than the font sizes being too big) if that didn't happen.

I wish there were a way around this.

goitalone

@URPG

Where is this other mod? I can't find anything on it.

URPG

I did post a link here *twice*

It's not a MOD, it's the code to make one. If you insert it by hand, it is exaclty what this mod does. we still need to solve those bugs.

As i said, i don't know much about this, i just found the code and think it's a cool idea. It can be made working, i have seen it on other Boards (vBulletin) working with similar code.

webfritz

Quote from: Greek on March 11, 2007, 06:25:36 PM
Look at the bottom of my page. Do you mean such buttons?

Please, can you give us a link to your site to look at?

ChaosEnergy

is there any news about the session logout issue?
Chaos Empire ®

Everyman

Hi, Forum failed after installing BabblefishTranslate.

Fatal error: Cannot redeclare babelfishtranslate() (previously declared in /mnt/w0301/d02/s23/b029bcdf/www/timetender.ca/enquirer/Sources/Subs.php:3583) in /mnt/w0301/d02/s23/b029bcdf/www/timetender.ca/enquirer/Sources/Subs.php on line 3622

Please help!


Everyman

How do I remove BabelfishTranslate via my server control panel?

TrueSatan

It would appear that you installed the mod twice judging by the fatal error above...furthermore you should always do a backup of your database and files prior to installing or removing any mod or theme.

You will now need to reverse the process of a manual installation of this mod making sure you remove all duplications of the edits it makes...the following links give details of the manual installation process:

Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Apllicmz




Advertisement: