[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.

[ABD] Automatic Translate Mod V0.1.0

Postby ksar » Wed Dec 09, 2009 5:40 pm

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: viewtopic.php?f=69&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
ksar
Registered User
 
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Re: [DEV] Automatic Translate Mod V0.1.0

Postby 4_seven » Wed Dec 09, 2009 6:26 pm

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
4_seven
I've Been Banned!
 
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Automatic Translate Mod V0.1.0

Postby kber » Thu Dec 10, 2009 12:57 pm

i will bookmark this topic
25% off for all Hostgator services
use coupon : phpbbegypt25coupon
My phpbb3 mods And Styles | Free online games
phpBB Arabic Support Forum
| حجاب
User avatar
kber
Registered User
 
Posts: 979
Joined: Sun May 07, 2006 9:22 am
Location: Egypt

Re: [DEV] Automatic Translate Mod V0.1.0

Postby ksar » Thu Dec 10, 2009 3:11 pm

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
ksar
Registered User
 
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Re: [DEV] Automatic Translate Mod V0.1.0

Postby kber » Thu Dec 10, 2009 7:54 pm

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
25% off for all Hostgator services
use coupon : phpbbegypt25coupon
My phpbb3 mods And Styles | Free online games
phpBB Arabic Support Forum
| حجاب
User avatar
kber
Registered User
 
Posts: 979
Joined: Sun May 07, 2006 9:22 am
Location: Egypt

Re: [DEV] Automatic Translate Mod V0.1.0

Postby purusam » Mon Dec 14, 2009 2:24 pm

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.
purusam
Registered User
 
Posts: 429
Joined: Sat Feb 02, 2008 10:31 pm


Re: [DEV] Automatic Translate Mod V0.1.0

Postby ksar » Mon Dec 14, 2009 3:18 pm

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
ksar
Registered User
 
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Re: [DEV] Automatic Translate Mod V0.1.0

Postby purusam » Mon Dec 14, 2009 3:49 pm

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 ?
purusam
Registered User
 
Posts: 429
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Postby ksar » Mon Dec 14, 2009 3:59 pm

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


Re: [DEV] Automatic Translate Mod V0.1.0

Postby ksar » Mon Dec 14, 2009 5:00 pm

purusam wrote:heres a link

viewtopic.php?f=70&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
ksar
Registered User
 
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Re: [DEV] Automatic Translate Mod V0.1.0

Postby purusam » Mon Dec 14, 2009 5:30 pm

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

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

Re: [DEV] Automatic Translate Mod V0.1.0

Postby purusam » Mon Dec 14, 2009 6:12 pm

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.
purusam
Registered User
 
Posts: 429
Joined: Sat Feb 02, 2008 10:31 pm

Re: [DEV] Automatic Translate Mod V0.1.0

Postby ksar » Mon Dec 14, 2009 9:52 pm

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
ksar
Registered User
 
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Next

Return to [3.0.x] Abandoned MODs

Who is online

Users browsing this forum: No registered users and 1 guest