[ABD] Automatic Translate Mod V0.1.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

[ABD] Automatic Translate Mod V0.1.0

Post by ksar »

Modification Name: Automatic Translate
Author: Ksar

Modification Description: Automatic translate of the contents of your forum in several languages thanks to google translate tool
Modification Version: 0.1.0 Beta

Requirements: This mod use the php function "fsockopen" to retrieve the google translation. Be sure your hosting system provide this php function

Features:
  • Automatic languages detections for guests. Thanks to "Enable Browser Language Detection" mod: http://www.phpbb.com/community/viewtopi ... 9&t=862955
    Many thanks to Martin Truckenbrodt!
  • Direct languages change for Guest or registered users (with icons on index page)
  • Automatic translate of the posts/category/forum name...

For now, this mod will translate from your forum default language to a foreseen language.
So all the posts and topics of your forum has to be written in the default forum language.


It makes sense to install it only if you have installed more than one language packs on your forum.
To install more language packs go to http://www.phpBB.com/languages/


Demo URL: http://translate.stream-radio.com/
Demo Username: test
Demo Password: test.test

Modification Download:http://translate.stream-radio.com/viewtopic.php?f=2&t=3
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Automatic Translate Mod V0.1.0

Post by 4_seven »

Nice, to integrate the google translate Api to the Board.
But, for (really) professional Bilingual- or Multilingual-Boards the given Translation is too lousy.

Keep up the work
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by kber »

i will bookmark this topic
Hello All
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by ksar »

kber wrote:i will bookmark this topic
May be you can tel me witch functionalities you need!

it will help me to know what exactly is missing on this mod.

@++
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by kber »

ksar wrote:
kber wrote:i will bookmark this topic
May be you can tel me witch functionalities you need!

it will help me to know what exactly is missing on this mod.

@++
i will test it at a simple board , will back soon to you
Hello All
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Post by purusam »

I keep getting this error when im pressing the english flag

the enlish language pack is installed



General Error
Language file ./language/en/mods/lang_wwh.php couldn't be opened.
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by ksar »

purusam wrote:I keep getting this error when im pressing the english flag

the enlish language pack is installed



General Error
Language file ./language/en/mods/lang_wwh.php couldn't be opened.
It's a language package for a mod!

This file is missing.

@++
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Post by purusam »

yeahh i figured that out. :-)

quite good modd.

but i have a problem.

i got "Recent topics" MOD how do i get this mod to translate the text in the "Recent topics" too ?
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by ksar »

purusam wrote:yeahh i figured that out. :-)

quite good modd.

but i have a problem.

i got "Recent topics" MOD how do i get this mod to translate the text in the "Recent topics" too ?
I need to have a look on that mod.

Please provide a download URL.

@++
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by ksar »

purusam wrote:heres a link

http://www.phpbb.com/community/viewtopi ... 0&t=573680

thank you for taking a look at it.
For "Recent topics" MOD try this :

open : includes/functions_recenttopics.php

Search :

Code: Select all

			'LAST_POST_SUBJECT'			=> censor_text($row['topic_last_post_subject']),
Replace By :

Code: Select all

			'LAST_POST_SUBJECT'			=> get_translation(censor_text($row['topic_last_post_subject']), $config['default_lang'], $user->data['user_lang'], "p_".$row['topic_last_post_id']."_s", false),
Search :

Code: Select all

			'TOPIC_TITLE'				=> censor_text($row['topic_title']),
Replace By :

Code: Select all

			'TOPIC_TITLE'				=> get_translation(censor_text($row['topic_title']), $config['default_lang'], $user->data['user_lang'], "t_" . $topic_id, false),
And normally it will be OK

@++
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Post by purusam »

thank you very mutch i will try it and i be back.

otherwise the mod works perfect. :D
purusam
Registered User
Posts: 440
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Post by purusam »

that worked perfectly. thank you.

i have another question.

i installed your mod first.

and now i want to install this.

Automatic languages detections for guests. Thanks to "Enable Browser Language Detection" mod: viewtopic.php?f=69&t=862955

but i figured that mod must be installed first and then yours.

is it possible to tell me what changes i have to do to install Automatic languages detections for guests ?
its not so mutch changes i bealive.
ksar
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France
Contact:

Re: [DEV] Automatic Translate Mod V0.1.0

Post by ksar »

purusam wrote:that worked perfectly. thank you.

i have another question.

i installed your mod first.

and now i want to install this.

Automatic languages detections for guests. Thanks to "Enable Browser Language Detection" mod: viewtopic.php?f=69&t=862955

but i figured that mod must be installed first and then yours.

is it possible to tell me what changes i have to do to install Automatic languages detections for guests ?
its not so mutch changes i bealive.
In my mod, the MOD "Automatic languages detections for guests" is automaticaly integrated!

No need to install it!

@++
mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature
Locked

Return to “[3.0.x] Abandoned MODs”