News:

Wondering if this will always be free?  See why free is better.

Main Menu

Quick Translation

Started by Bugo, October 17, 2010, 12:55:02 PM

Previous topic - Next topic

Bugo

Idea is good. Unfortunately, my knowledge is not enough to embody it.

_pi

i have never used cookies for saving info, but i guess that might be easy ...


Eudemon

so i click on the button alright
and then a screen pops up alright
so i randomly click a language alright
....
but nothing happened!! :-[

see screenshot

Bugo

Possible the service cannot find the translation.

qubbah

Still no tranlste from my default forum language to EN.

Eudemon

#25
Quote from: Bugo on November 12, 2010, 09:19:07 PM
Possible the service cannot find the translation.

but i tried, and all languages don't work
any solution?
no matter which one i click nothing happens

----------
update:
so i just found out that nothing is shown when use it in sticky topic
for all others it always show no translation is found

Bugo

Source language = current language of the forum (but not the message!). But you can try change language. Find in Display.template.php this line:
original : "' . $txt['lang_dictionary'] . '",
and replace it with:
original : "ch",

qubbah


studiowi33

Hi everyone-

I have SMF 1.1.11 and English is the forum default. Recently, a member made a post in Spanish, and when I try to translate the message i get a Translation not found error. It's a rather lengthy message, so that may have something to do with it.
However, I can translate a short English message into Spanish.
SMF 2.0.2

Bugo

QuoteSource language = current language of the forum (but NOT the message!).

studiowi33

Quote from: Bugo on November 13, 2010, 09:23:24 AM
QuoteSource language = current language of the forum (but NOT the message!).

Well that sucks. For me at least.

Thanks Bugo
SMF 2.0.2

Bugo

Version 0.3 is out: now the source (original) language of each message is determined automatically...

Eudemon

#32
nice work
the "nothing happens" problem solved
but it still doesn't work for the first post of sticky thread
the icon won't show up if it's the first post of a sticky thread or locked thread

-----

wait a minute, not just the sticky's, i just post a new normal thread and it doesn't show the icon
but the other posts show, weird

ok, it's because i used [*code]bbc in the post, if i remove it then it shows fine
bug?

Bugo

It may do not work if message is very big or has images (maybe). Please test with small sticky/locked messages.

Eudemon

#34
i just tested with some conditions
here are conditions that it won't work:
when the topic is sticky or locked thread
when the topic has more than 1 image
when the topic uses [*code] bbc, possibly other bbc will too

when the messages are too big

ok it's bcuz the message is too large...(like 120words) is this gonna be improved in the future?

Bugo

Google Language API has limits...

Eudemon

Quote from: Bugo on November 14, 2010, 01:03:04 AM
Google Language API has limits...
got it, hoping they do some improvement there

cordesh

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 ?



Bugo

Please tell, what version of SMF you're using, how you installed this mod (as mod or over parser), what theme you're using...

nend

Quote from: Eudemon369 on November 14, 2010, 02:18:36 PM
Quote from: Bugo on November 14, 2010, 01:03:04 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. ;)

Advertisement: