Advertisement:

Author Topic: Quick Translation  (Read 58485 times)

Offline Eudemon

  • Sr. Member
  • ****
  • Posts: 807
  • An Anime Fan
    • KumaKuni
Re: Quick Translation
« Reply #40 on: November 28, 2010, 01:08:03 AM »
Google Language API has limits...
got it, hoping they do some improvement there

These limits been set for this API for years now. They have made it higher from the old limitations, but still not high enough for some stuff. You can use a different technique with the API to get little chunks at a time but last time I tried to do this a few months back this technique was very sluggish.

I haven't really look at this mod yet, but some possibilities though if your submitting it via the URL you may be reaching the maximum URL length, if not the case then your hitting the api's maximum length. ;)
yeah, i think they should make the limit higher
a threat with less than 200 words and no image allow is not really a threat anymore  :P
« Last Edit: November 28, 2010, 01:14:38 AM by Eudemon369 »

Offline MissyNL

  • Full Member
  • ***
  • Posts: 643
  • Gender: Female
Re: Quick Translation
« Reply #41 on: December 20, 2010, 05:25:27 PM »
this would be a very nice mod for me, since i want to go international at some point and my site is now in dutch... However... couldnt you also add an option that it is only visable when the user is not using the standard language on the site?

Sorry for my poor English, but i think it's probably better then your Dutch :)

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #42 on: December 20, 2010, 11:43:16 PM »
If any site has no other languages? Only one?

Offline MissyNL

  • Full Member
  • ***
  • Posts: 643
  • Gender: Female
Re: Quick Translation
« Reply #43 on: December 21, 2010, 04:24:03 PM »
I do not follow you.... My proposal is: If a user has set the language different then the forum standard... then they see the option to translate... Even better would be if the user can enable or disable it... since some maybe know the standard language, but are more comfortible reading the standard functions of the site in it's own language...
Sorry for my poor English, but i think it's probably better then your Dutch :)

Offline Joazo

  • Jr. Member
  • **
  • Posts: 159
Re: Quick Translation
« Reply #44 on: January 18, 2011, 05:50:11 PM »
How can I change the button location?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #45 on: January 18, 2011, 11:47:33 PM »
Change code.

Offline Joazo

  • Jr. Member
  • **
  • Posts: 159
Re: Quick Translation
« Reply #46 on: January 19, 2011, 12:18:40 AM »
Yes but which code?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #47 on: January 19, 2011, 06:01:07 AM »
In Display.template.php. But I'm not interested, so think yourself.

I do not follow you.... My proposal is: If a user has set the language different then the forum standard... then they see the option to translate... Even better would be if the user can enable or disable it... since some maybe know the standard language, but are more comfortible reading the standard functions of the site in it's own language...
I'm still busy with other projects.

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #48 on: January 20, 2011, 02:40:42 PM »
@Joaso, what about a right alignment? I have made it in new version. And u can always change position of button with the help css.

Offline Joazo

  • Jr. Member
  • **
  • Posts: 159
Re: Quick Translation
« Reply #49 on: January 21, 2011, 03:44:53 AM »
@Bugo

Would be great!

Where can I get the new version?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #50 on: January 21, 2011, 05:15:35 AM »
See modification page.

Offline Morph_nkgc

  • Newbie
  • *
  • Posts: 7
Re: Quick Translation
« Reply #51 on: January 21, 2011, 09:48:24 AM »
I have the Problem, that the Button only shows up to my own Posts that i can Edit.

I cant Translate Posts from other Users. Only if i Login as Admin.

Is this a Bug ?
Hi Bugo,
I have the same problem, i Use SMF 1.1.12 with a theme made by me;
The installer works.
Can you help me?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #52 on: January 21, 2011, 10:23:04 AM »
Try find in Display.template.php this line:
Code: [Select]
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>and replace with:
Code: [Select]
<div class="post" id="msg_' . $message['id'] . '">', $message['body'], '</div>
I'll add it in a future version.

Offline impreza

  • Sophist Member
  • *****
  • Posts: 1,054
    • Nazwa strony www na co zwrócić uwagę
Re: Quick Translation
« Reply #53 on: January 21, 2011, 12:54:49 PM »
An interesting add-on, works ok

Offline Morph_nkgc

  • Newbie
  • *
  • Posts: 7
Re: Quick Translation
« Reply #54 on: January 21, 2011, 02:16:51 PM »
eureka, it works!  ;D
Thank you very much for your help and so quick!
I think i'll repack the mod with this correction for my forum, so if i will need to uninstall it in future i'll have no problem.
Is it ok?
Thank you again for your wonderful works

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #55 on: January 21, 2011, 11:09:11 PM »
Ok, ok :)

Offline ben sisko

  • Semi-Newbie
  • *
  • Posts: 65
Re: Quick Translation
« Reply #56 on: February 12, 2011, 04:05:53 AM »
hi Bugo,

i just  installed it with no problems. but all i get is this image

SMF 2.0 RC4
« Last Edit: February 12, 2011, 04:10:08 AM by ben sisko »

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #57 on: February 12, 2011, 05:51:56 AM »
Try these files (replace original).

Offline ben sisko

  • Semi-Newbie
  • *
  • Posts: 65
Re: Quick Translation
« Reply #58 on: February 12, 2011, 06:04:33 AM »
no good. the result is the same.  :(

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Quick Translation
« Reply #59 on: February 12, 2011, 06:38:14 AM »
IE?