cotonti.com : Google Translate API for Cotonti.com https://www.cotonti.com Son konu mesajları Cotonti en Fri, 30 Jan 2026 23:01:47 -0000 KillerSneak no pun intended" good english translated version get's posted?]]> Çrş, 15 Nis 2009 23:49:39 -0000 biro Cum, 10 Nis 2009 02:19:07 -0000 KillerSneak Pzt, 06 Nis 2009 15:58:09 -0000 Uch Do u use jQuery-translate plugin ( http://code.google.com/p/jquery-translate/ )?]]> Pzt, 09 Mar 2009 03:36:34 -0000 Amro
<div class="codetitle">Kod:</div><div class="code"style="margin:0px; padding:6px; border:1px inset; width:660px; max-height:300px; overflow:auto">MYSQL = 1 / / Buraya 1 değerini verdiğiniz zaman mysql&#039;ı aktif hale getirmiş oluyorsunuz.<br />
MySqlHost = localhost / / MySQL&#039;ın bulunduğu adres.<br />
MySqlUser = root / / MySQL kullanıcınız<br />
MySqlPassword = password / / Var ise MySQL şifreniz.<br />
MySqlDatabase = sphere / / Son olarak bu da MySQL üzerinde kullanacağınız veritabanı adı olarak ayarlanmalıdır.</div><br />
A need to make it so :
<div class="codetitle">Kod:</div><div class="code">MYSQL = 1 / / Buraya 1 değerini verdiğiniz zaman mysql&#039;ı aktif hale getirmiş oluyorsunuz.<br />
MySqlHost = localhost / / MySQL&#039;ın bulunduğu adres.<br />
MySqlUser = root / / MySQL kullanıcınız<br />
MySqlPassword = password / / Var ise MySQL şifreniz.<br />
MySqlDatabase = sphere / / Son olarak bu da MySQL üzerinde kullanacağınız veritabanı adı olarak ayarlanmalıdır.</div><br />
To work properly you need all the styles were made in your CSS file.
Then see the settings in the JS file translate.forumposts.js and translate.pages.js and edit them to fit your needs.
var text_block_id = ".fmsg";
var translate_block_id = ".translate_fmsg";
var translate_block_insert = "<div class=\"translate_fmsg\" style=\"width:550px; overflow-x:auto; overflow-y:visible; margin-bottom:8px;\"\"></div>";
var def_lang_chekbox = "#deflang";
var langselectbox = "#lang";
var cfg_lock_tags = true;
var clone_mod = ""; //"notext" OR "" - with clone resource text 
var lock_tag = new Array("div.highlight", "pre.code", "div.spoiler");
var max_words_send = 480;
In translating tables, as well as to the type of "HTML" pages can be bugs.]]>
Pzt, 16 Şub 2009 07:07:13 -0000
n0fx
you can look here:

http://www.ultima-strike.com/i-4682-mysQl-kurulumu.html
http://www.ultima-strike.com/i-4686-fonksiyonlar.html

excellent work with opera.]]>
Pzt, 16 Şub 2009 05:55:56 -0000
Trustmaster Pzt, 16 Şub 2009 03:13:32 -0000 Amro
The plugin works steadily in both Firefox and Opera, in IE, there hangs on large positions forum.

Plugin ignores tags <pre class="code"> ***</ pre> and <div class="highlight"> ***</ div>. Additional tags can be inserted in the configuration of JS scripts.

Trustmaster installed on this site, testing will continue.

Download translate_beta2_30.rar

Manual for configuration and job description will be prepared later.]]>
Paz, 15 Şub 2009 09:22:39 -0000
Kilandor
Example, i used it here http://www.cotonti.com/forums.php?m=posts&q=348 And since most of that thread is huge, it caused hangs/slowness. Though I doubt there is any way to fix that.
But I also notice it really breaks chili, anyway we can sanitize/prevent this?

It may not be fixable, but I just thought I might point out it can cause some browser lag/freeze.]]>
Sal, 10 Şub 2009 14:54:11 -0000
Orkan Sal, 10 Şub 2009 08:51:53 -0000 n0fx Sal, 10 Şub 2009 08:25:08 -0000 Lombi
Or at least have this via url support, so you'd tie this into sed_url and have custom URL from translations.]]>
Sal, 10 Şub 2009 05:54:02 -0000
Amro motor2hg I think this is quite solvable problem. It remains to write a function for parsing and analysis of html code. Which will skip those sections of code that do not require translation. Still, it is better than nothing at all)

Koradhil do not rush, the plugin will be posted shortly, once corrected all bugs.]]>
Pzt, 09 Şub 2009 06:57:53 -0000
GHengeveld - Select language options in adminpanel (checkboxes or something, so you can limit the translation options; for example if I expect only dutch and german visitors, I can limit the options to those two languages + english for other visitors)
- Profile option to auto-translate into user language (current deflang works, but setting this in profile is more logical and keeps such settings in one place)]]>
Pzt, 09 Şub 2009 06:10:11 -0000
motor2hg
bla bla bla


Translate this into English

http://www.cotonti.com/forums.php?m=posts&q=348]]>
Pzt, 09 Şub 2009 06:09:05 -0000
Trustmaster Pzt, 09 Şub 2009 05:58:09 -0000 GHengeveld Pzt, 09 Şub 2009 05:45:29 -0000 motor2hg Super!
thank you Amro]]>
Pzt, 09 Şub 2009 05:07:02 -0000
dervan thank you Amro]]> Pzt, 09 Şub 2009 04:48:28 -0000 Trustmaster Pzt, 09 Şub 2009 04:34:48 -0000 Amro Pzt, 09 Şub 2009 02:45:57 -0000 foxhound Pzt, 09 Şub 2009 01:14:41 -0000 musiconly ]]> Paz, 08 Şub 2009 23:09:18 -0000 Amro
It works on the client side.

More information about Google AJAX Language API, you can read here http://code.google.com/intl/ru/apis/ajaxlanguage/documentation/#Translate

The meaning of work as follows:

Passes to all posts in the topic, in this case on the block with the class "fmsg", on each of the blocks put a new unit with the class "translate_fmsg", parallel to this action produce the translation of text and paste it into a block with the class "translate_fmsg", and block "fmsg" to hide.

Sam Post is divided by 300 characters and sent for translation.

The original language of post is determined automatically.

Basically that's all:)]]>
Paz, 08 Şub 2009 22:38:45 -0000
Trustmaster Paz, 08 Şub 2009 21:23:55 -0000 Amro
Example forum posts:

http://ldu.su/translate/trans_ru.html
http://ldu.su/translate/trans_eng.html
http://ldu.su/translate/trans_tur.html
http://ldu.su/translate/trans_de.html

What do you think about this ?]]>
Paz, 08 Şub 2009 19:08:03 -0000