Coder Social home page Coder Social logo

jquery-translate's Introduction

jquery-translate

Automatically exported from code.google.com/p/jquery-translate

This project is no longer maintained because of restrictions of the Google and Microsoft APIs, and most browsers now do automatic translations out of the box too.

The documentation can be found on the wiki branch (as imported from Google Code).

jquery-translate's People

Contributors

balazs-endresz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jquery-translate's Issues

Doesn't work in IE at all?

What steps will reproduce the problem?
1. Create a simple test page
2. Include jquery and jquery-translate
3. Run in IE

What is the expected output? What do you see instead?
Some kind of translation

What version of the product are you using? On what operating system?
Have tried 1.3.9 and 1.4.5. jQuery 1.3.2. Windows XP. IE 8/7

Please provide any additional information below.

Experienced a problem in a web application where translation didn't seem to
work anymore, however occationally it would work once, but not again. Made
a local test page to verify the problem, but there's no translation going
on at all. Did Google change their API or something?

Test page:

<html>
<head>
  <script type="text/javascript" src="jquery-latest-min.js"></script>
  <script type="text/javascript" src="jquery-translate-1.4.5.js"></script>
  <script type="text/javascript">

    $(function(){
      $(".abc").translate("no","en",{});
    });
  </script>

</head>
<body>

  <div class="abc">Siste nytt</div>

</body>
</html>

Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 10:51

didn't determine russian language automaticly in text "семинар по Дзёдо"

What steps will reproduce the problem?
1. Try to translate text by this function:
$.translate( 'семинар дзёдо', 'en',  function(translation){
            alert(translation); 
});

but this version work fine:
$.translate( 'семинар дзёдо', 'ru', 'en',  function(translation){
            alert(translation); 
});

What is the expected output? What do you see instead?
expected output is "Seminar Jodo", but I didn't see anything

What version of the product are you using? On what operating system?
version 1.4.6, Windows 7, Firefox 3.6.8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Aug 2010 at 10:42

IE6 throws 'operation aborted' error when using jquery.translate and page stops loading

What steps will reproduce the problem?

1. Use the plug-in in IE6 
2. Load the page with IE6 and receive 'Operation Aborted' error dialog from
IE 6 and the page will not load any further


What is the expected output? What do you see instead?

A normal page load.   Instead 'operation aborted' error dialog in IE

What version of the product are you using? On what operating system?

jquery.translate 1.2.1 and IE 6 with latest jquery release


Please provide any additional information below.

This appears to be related to when IE 6 considers the DOM to be loaded.  I
thought this related discussion might help but can't figure out what is
going on or if it's a matter of code placement in IE 6.

http://groups.google.com/group/Google-AJAX-Search-API/msg/1d2c4cff9de4b9b3?pli=1


Original issue reported on code.google.com by [email protected] on 6 Oct 2008 at 8:02

jQuery clone bug

This http://dev.jquery.com/ticket/4643
issue causes problems if the rebind option is true.

typical error messages: 
orig[i] is undefined OR
H[F] is undefined OR
Cannot convert undefined or null to Object

Original issue reported on code.google.com by balazs.endresz on 11 May 2009 at 7:51

Some of the translation results should have the property dir="rtl"

What steps will reproduce the problem?
1. Translate text into Hebrew or Persian.

What is the expected output? What do you see instead?
The text should have the properties dir="rtl" style="text-align: right;"
like Arabic but they don't.

What version of the product are you using? On what operating system?
1.3.7

Please provide any additional information below.
I'm using the plugin for a WordPress plugin here:
http://wordpress.org/extend/plugins/google-ajax-translation/

You can see it in use here:
http://orrmarshall.com/wp/

See this page for reference:
http://www.i18nguy.com/temp/rtl.html

Original issue reported on code.google.com by [email protected] on 24 Jun 2009 at 4:42

Not executing synchronously when async set to false

What steps will reproduce the problem?
1. Go to a web page that includes the plugin
2. Paste the following into the address bar: javascript:var 
x='sync';$.translate(['test'],{from:'en',to:'es',async:false,complete:function()
{alert(x);}});void(x='async');
3. Execute the javascript by pressing enter in the address bar

What is the expected output? What do you see instead?
It should alert sync, instead it alerts async.  This indicates the line 
follwing the translate command was executed and the translate command did not 
stall the javascript execution by using a synchronous callback.

What version of the product are you using? On what operating system?
1.4.6

Original issue reported on code.google.com by [email protected] on 17 Jun 2010 at 6:40

Need support for https

What steps will reproduce the problem?
1. Use the translate code on a page that is served via https protocol.

What is the expected output? What do you see instead?
Get a warning message in IE about content referenced that is not protected. It 
is trying to access http://www.google.com/jsapi? in the 
jquery.translate-1.4.5.min.js file.

Please provide any additional information below.
I have hacked our local jquery.translate file to replace the 
"http://www.google.com/jsapi?" code piece with the following:
("https:" == document.location.protocol) ? "https://ssl." : "http://www.") + 
"google.com/jsapi?"

Original issue reported on code.google.com by [email protected] on 19 Aug 2010 at 7:26

Usage examples missing

I'm not a programmer and I find difficult to use the script. The documentations 
is scarce and 
targeted to programmers. I thing that some some simple usage examples would be 
very useful.



Original issue reported on code.google.com by [email protected] on 3 Nov 2008 at 4:00

Error: this.split is undefined Source File: jquery.translate-1.1.1.min.js Line: 55

What steps will reproduce the problem?

- Use translate as a function thus:
jQuery.translate(descValue,"en",lang, {
    complete:
function(translation){document.getElementById("desc").innerHTML = translation}
                    });

Where descValue is a String containing the text to be translated, and desc
is a div that will contain the translated text...


What is the expected output? What do you see instead?
The script runs fine (although I haven't tested using more than 500
characters), and the translated text is showed in the DIV, but in firefox3
I see this error in my error console EVERY time I call the translate
function...

What version of the product are you using? On what operating system?
jquery.translate-1.1.1
FireFox 3
Windows VISTA Home Premium


Original issue reported on code.google.com by [email protected] on 8 Aug 2008 at 11:49

Option to disable rtl switching

I'm using CSS Janus to mirror the whole site for rtl languages. The problem
is that jquery-translate is too switching the direction, something that
seems to cause bugs Internet Explorer (headings get text-align: left set,
even though they should be text-align: right). 

So, long story short, it would be helpful with an option to turn rtl
switching off in jquery-translate, for those of us that want to handle that
separately. 

Thanks for a great script!

Original issue reported on code.google.com by EmilStenstrom on 10 Jul 2009 at 11:16

Cannot get a search-field translated multiple times

I have at search-field, that i would like to translate before the search 
is submitted. On the server, the search-string and the translated search-
string are to be combined.

The search is submitted into a html-div using jQuery. 
This means that there is no reloading of the page.


What steps will reproduce the problem?
1. Go to http://dev.scanpix.eu/spdk/index_translate_eksperiment.pl
2. Enter a few words in the search-field (labeled "Søg i nordens største 
billeddatabase - klik her...").
3. Trigger the onChange event by leaving the field.
4. The words are now put into the "In english:" field to the right, and 
translated to english.

5. Change the words in the search-field, and trigger the event again.


What is the expected output? What do you see instead?
I expected the new search-string to be translated. 
Instead no translation seems to happen.


What version of the product are you using? On what operating system?
version: "1.3.9"

Please provide any additional information below.
I've added data: false, and tried adding both fromOriginal : false and 
toggle : false. But none of them seemed to do the trick.


Original issue reported on code.google.com by pierre.husted on 22 Apr 2010 at 10:25

Ie 6, 7 error when jquery-translate has been added to a page.

What steps will reproduce the problem?
1. I have installed jquery-translate 1.4.1 from the download builder
2. I put it on a page and it is working great except for ie 6, 7, 8 on a pc
3. It is functioning fine but I get a error when the page loads on line 182
that reads "Object doesn't support this action or property" 

http://www.udel.edu/ocm/development/db/admissions/

What is the expected output? What do you see instead?
Can someone help me to overcome this error on page?

What version of the product are you using? On what operating system?
jquery 1.3.2
jquery-translate 1.4.1


Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 5 Nov 2009 at 7:13

Able to use translation once then stops working

What steps will reproduce the problem?
1. I translate a section called #middleColumn like so:
$("#middleColumn").translate("sv","en"); And I get what I'm expecting
2. I then change the content inside middleColumn
3. I then do step 1 again. Yet this time translation isn't done.

What is the expected output? What do you see instead?
I want it to be retranslated again. But it's not.

What version of the product are you using? On what operating system?
I tried 1.3.9, latest 1.4.4 and some older one before that (don't remember
which). I'm on Windows XP, I'm using Firefox with firebug. Firebug reports
that no request is sent to google the second time. Is there some switch I
don't know about which prevents me from retranslating the same area?

Please provide any additional information below.
You can try out the problem here:
http://orebro2010.se.labs.webbhotell.tv/content/calendarium.aspx?lang=en-GB

An initial translation is done to #translatableContent

The stuff in the right list of the page is supposed to load something new
in the middle which it does, however it's not translated after the second
time. It never works beyond first translation. (#middleContent)

Same with the stuff on the left. When you choose something in the
dropdowns, they are repopulated. Then I request from google to the whole
div (which has same id) to become retranslated. But sometimes nothing
happens. (#leftContent)

However one thing I've noticed is that #rightContent gets retranslated.
This part is retranslated whenever you click a number. to get a new list of
articles.

The locations where ReTranslate is called can be seen in /js/common.js

The ReTranslate-function is defined in the calendarium.aspx-file because I
need to get sessionvariable to see which language user has selected.

Well that's about it. I hope you can help me!

Original issue reported on code.google.com by [email protected] on 13 Feb 2010 at 12:29

Does not switch to use HTTPS when on a HTTPS page.

URL of the page, with non-minified JavaScript:


What steps will reproduce the problem?
1.Add jquery-translate to secure page
2.Observe browser security warnings

What is the expected output? What do you see instead?
It should switch protocol depending upon whether you include on a HTTP or HTTPS 
page.



What version of the product are you using? On what browser and operating
system?
This problem is cross browser

Please provide any additional information below.

See line 611 
$.getScript("http://www.google.com/jsapi" + (key ? "?key=" + key : ""), _load);


Possible fix
$.getScript(document.location.protocol + "//www.google.com/jsapi" + (key ? 
"?key=" + key : ""), _load);


Original issue reported on code.google.com by [email protected] on 27 Aug 2010 at 8:13

  • Merged into: #46

Out of memory error on IE6

Comment by mbasil7:

When i choose to translate the page in a language from the select, appears 
an alert: Out of memory at line:22

The website is http://www.psarema-skafos.gr and my code is

function translateTo( destLang ){
  $('body').translate('el',destLang, {
      not:          '.jq-translate-ui',
      start:        function(){$('#translate_loading').show();},
      complete:     function(){$('#translate_loading').hide();},
          fromOriginal:true
      }
  );
  $('title').translate(destLang)
}

$(document).ready(function(){
        $.translate(function(){
        $('#translate_loading').hide();
        $.translate.ui({
        tags: ['select', 'option'],
        filter: ["el","en", "de", "fr","it","tr"],
                label: $.translate.toNativeLanguage ||
         function(langCode, lang){
           return $.translate.capitalize(lang);
         },
                fromOriginal:true
     })
     .change(function(){
                var lang = $(this).val();
                translateTo(lang);
        $.cookie('destLang', lang, {path:'/'});
        })
        .val('el')
        .appendTo('#translate'); //insert the dropdown to the page
    $.translate.getBranding().appendTo($('#translate'));
        var destLang = $.cookie('destLang');
        if (destLang && destLang != 'el') {
                //alert(destLang);
                $('.jq-translate-ui').val(destLang);
                translateTo( destLang );
     }
    });

});


Original issue reported on code.google.com by balazs.endresz on 30 Mar 2010 at 5:38

  • Merged into: #64

Async parameter isn't working correctly

var traduction = 'test';
$j.translate( 'car', 'en', 'fr', {
              async: false,
              complete: function(translation){ 
                  traduction = translation;
                  alert('1'+traduction);
    }
});
alert('2'+traduction);


We should have "1 Voiture" first and than "2 voiture" if it was realy not 
async. The result at the moment is "2 test" and than "1 voiture". I'm using 
jquery.translate-NCT,core,NCT-adapter,progress.min.js (1.4.6). I'm under last 
version of ubuntu 64 bit.

Thanks


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jul 2010 at 5:20

I can't install adword and jquery-tranlate in one joomla

What steps will reproduce the problem?
1. Joomla! 1.5.15 Stable [ Wojmamni Ama Mamni ]
2.
http://tutele.110mb.com/index.php/Joomla-Modules/2-Jquery-Translator-1.0/View-de
tails.html
3. http://extensions.joomla.org/extensions/search-a-indexing/site-search/4066
OR
http://extensions.joomla.org/extensions/search-a-indexing/site-search/2930

What is the expected output? What do you see instead?
If I enable two google site search in Joomla, there is no problem.
If I enable Jquery-Translator-1.0 and either search module, problem found.
Two module merge together in one place.

What version of the product are you using? On what operating system?
Windows 7, Apache 2.2, Mysql 5.1

Please provide any additional information below.
Please advice. Thank you


Original issue reported on code.google.com by [email protected] on 11 Apr 2010 at 4:19

Tiny MCE Issues

What steps will reproduce the problem?

When using the jquery-translate TinyMCE fails to load no idea why.
Also it does not work on IE7.

What version of the product are you using? On what operating system?

I'm running version 1.2.4 on a linux server.

can anyone shed any light on this?


Original issue reported on code.google.com by [email protected] on 6 Dec 2008 at 1:48

issues with &nbsp; characters

In some cases nbsp; characters disappear, which might break the layout of the 
page.

On the other hand they might also show up as visible characters, see issue 45

Original issue reported on code.google.com by balazs.endresz on 25 Aug 2010 at 5:52

Issue with leading white space

This is a re-post because the suggest fix did not resolve the issue.

I'm having an issue when i get a collection of textarea's for example:

$textCollection = $(".edit textarea");

$fields.translate("es",{
        start: function() { $loadingImage.removeClass("hide");},
        complete: function(value) { $loadingImage.addClass("hide"); }
});

it adds a white space character to the leading value in my textarea.

this: "This is the color blue"
becomes: " Este es el color azul" *notice the extra white space

The suggested fix was the following. `this.rawTranslation+=result.translation;`
to
`this.rawTranslation+=result.translation.replace(/^\s+/,"");`

I'm still having the same problem with it adding white space.





Original issue reported on code.google.com by [email protected] on 23 Jan 2009 at 10:28

class selector doesn't seem to work

When trying to use jquery-translate with a classname based selector nothing 
happens. 

$('a').translate('ar'); // works.
$('.post-tag').translate('ar'); // does not work.

Using: Version: 1.4.1

Thanks!

Original issue reported on code.google.com by [email protected] on 5 Jan 2010 at 4:28

http://ototruongson.com

I did build one website and translation by jquery.translate but I got stuck
on IE.

Error "google" is undefined 

How to fix it ?

Thank you so much !!!

Original issue reported on code.google.com by [email protected] on 26 Dec 2009 at 2:25

Translation into or from a rtl script toggles the style="text-align" CSS property

What steps will reproduce the problem?
1. Translate into Arabic -- style="text-align: right;"
2. Translate into Hebrew -- style="text-align: left;"
3. Translate into Hebrew again -- style="text-align: right;"
or
1. Translate into Arabic -- style="text-align: right;"
2. Translate into Arabic again -- style="text-align: left;"
3. Translate into English -- style="text-align: right;"

What is the expected output? What do you see instead?
Each time the plugin translates to or from Arabic, Hebrew, or Persian the
style="text-align" property is swapped between right and left.

The style="text-align" property should always be style="text-align: right;"
for Arabic, Hebrew, and Persian.

What version of the product are you using? On what operating system?
1.3.8

Please provide any additional information below.
I'm using the jquery-translate plugin for a WordPress plugin here:
http://wordpress.org/extend/plugins/google-ajax-translation/

You can see the plugin in use here:
http://orrmarshall.com/wp/

Original issue reported on code.google.com by [email protected] on 25 Jun 2009 at 8:50

Translation failed on $(document).ready()

Translation failed on $(document).ready() if the Language api wasn't loaded.
See details here: 
http://code.google.com/p/jquery-translate/issues/detail?id=5

Original issue reported on code.google.com by balazs.endresz on 6 Dec 2008 at 8:49

Not convert one page in site

What steps will reproduce the problem?
1. Convert all the pages on site except one inner page.where we have link for 
three other pages 
1. Read more
2. Add review 
3. Read review 

2. Inner page is depend on component J reviews.
3.

What is the expected output? What do you see instead?
Convert inner pages with selected language

What version of the product are you using? On what operating system?
1.5.x.20 mod_gtranslate

Please provide any additional information below.
please go to the URL

http://www.martiniquebest.com/index.php?option=com_content&view=article&catid=43
:fooddining&id=75:lancry-rene-sa-

not work here 


Original issue reported on code.google.com by [email protected] on 12 Jul 2010 at 6:45

Help me!! website navegation

I have the translator but only it this one working for the page that I have
loaded
when I load other one me there appears the original language, which I can
be absent?



Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 7:35

I got a problem when customer comment on the page show with original first and show translated text after that ?

http://deliexpress.com.vn

I am using cookie for translate text on this page but I got problem because
customers comment on the text original first and then show translated text.

$('body').translate('english',that.language,
{toggle:true,fromOriginal:true,start:function(){},complete:function(){}});


I don't know how to fix ? 

Thanks for helps !

Original issue reported on code.google.com by [email protected] on 23 Jan 2010 at 2:51

Large pages cause the "too much recursion" error.

What steps will reproduce the problem?
1. Translate a html page larger than 200k or so.
2. The page jammed and show a  "too much recursion" error in Firebug console.
3. Trace down the error, the source is the process() function in 
nodesContainingText plugin code.

Seems that there are too many tags in the page that nodesContainingText can
not handle properly.

Thanks,
Tim

Original issue reported on code.google.com by [email protected] on 27 Aug 2009 at 9:38

  • Merged into: #64

not: and walk: false not working together

What steps will reproduce the problem?
Trying to translate a page using both "not:" and "walk: false" parameters in 
the same translate call.

What is the expected output? What do you see instead?
I expected elements excluded by the not: parameter to be left not translated, 
instead they get translated.


What version of the product are you using? On what operating system?
jquery.translate-1.4.6.min.js (with everything included)
jquery-1.4.2.min.js


Original issue reported on code.google.com by [email protected] on 8 Jul 2010 at 11:44

Translate doesn't work in IE6/IE7 when the page is inside an iframe

Hello,

I use jquery-translate to translate webpages inside an iframe. It works
fine with IE8, FF, Chrome and Safari. 

However it doesn't work in IE6/I7, there is a problem here:

764. e.html( newElem.contents() );

You can replicate the problem easily, just create a html page with an
iframe inside and try to translate the content using IE6/IE7

Any idea about how to fix that error?

Thanks!


Original issue reported on code.google.com by [email protected] on 14 Mar 2010 at 1:09

adding alternative language codes

What steps will reproduce the problem?
1. Translation to or from the language Hebrew "he" doesn't work.
2. Translation to or from the language code "iw" does work. 

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
1.3.7

Please provide any additional information below.
The language code for Hebrew changed from "iw" to "he" in 1989. The Google
language API uses "iw" for some reason.

I'm using the jquery-translate plugin for my WordPress plugin here:
http://wordpress.org/extend/plugins/google-ajax-translation/

Before calling the jquery-translate function I convert the language code
with this JavaScript:
lang = ('he' == lang) ? 'iw' : lang;

See also:
http://code.google.com/p/google-ajax-apis/issues/detail?id=178

Original issue reported on code.google.com by [email protected] on 24 Jun 2009 at 4:21

On IE6 do not translate!!!

What steps will reproduce the problem?
1. Open http://www.kokohinvestigacion.com/testing/ with IE6 or IE7...
2. Click on the foothear in order to translate to catalan... Ok!
3. Change the section with the upper's menu and see the msg but NO TRANSLATE!!!

What is the expected output? What do you see instead?
I expected that happens in Firefox... Its translates...

What version of the product are you using? On what operating system?
Every on WinXp SP3...

Please provide any additional information below.
The messages are do when starts the translation and when its ends...

Original issue reported on code.google.com by [email protected] on 22 Jan 2010 at 1:39

cannot make it work

I'm successfully using google.translate but have problem with 500+ texts on
www.vocape.com (even some shorter texts claims they are 500+, may be html)

I tried to adapt the drupal module js to use your great plugin but I'm not
good enough at js.
May be it's very simple and obvious for you?
If you find and can fix here's the js:

if (Drupal.jsEnabled) {
  $(document).ready(function(){

    var link = $("<a />")
      .attr("href", "#")
      .css({ border:"1px solid #555", padding:"1px 0.8em", margin:"1px",
font:"#dff", float:"right", fontSize:"1em", textDecoration:"none" });
    var wrapper = $("<span></span>").css({ float:"right" });
    var languages = ["it", "ja", "nl", "pt", "fr", "de", "es", "en"];

    $(".node .content").each(function (i) {    
      var w = $(wrapper).clone().insertBefore(this);

      jQuery.each(languages, function(x){
        w.append(link.clone().html(languages[x]).click(function () {
          var n = $(this).parent().next();
          google.language.translate(n.html(), "", languages[x],
function(result) {
            if (!result.error) {
              n.html(result.translation);
            } else alert(result.error.message);
          });
          this.blur();
          return false;
        }));
      });
    });
  });
}

Original issue reported on code.google.com by [email protected] on 20 Sep 2008 at 12:49

Could translate.ui present the languages in the current browser's language?

What steps will reproduce the problem?
1. Use translate.ui with a browser that has 'es' as its language code
2. translate.ui offers 'Spanish' as a possible language to translate to.

I would hope to see 'español' as the language to translate to... and all
the other languages in the select translated to Spanish.

Is there any way to do this with Google's api?


What version of the product are you using? On what operating system? 1.4.5

Thanks for the marvelous library.

BTW: This is used in the Drupal translatableregions module:
http://drupal.org/project/translatableregions.

Please add that to your list of users. It's also used on the site
http://warmshowers.org


Original issue reported on code.google.com by [email protected] on 23 Feb 2010 at 10:53

translateTextNodes doesn't handle html entities properly

What steps will reproduce the problem?
1. Switch from a foreign language back to English with:
$('body').translateTextNodes('', 'en',{not: 'select'})

What is the expected output? What do you see instead?
&nbsp; = space and &amp; = & etc.

What version of the product are you using? On what operating system?
1.4.5


Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 9:20

Raw text translation does not preserve new lines and other charcaters

What steps will reproduce the problem?
1. Translate this text to Italian. using $.translate(text, 'it')
From:   Ray Arcadu  

Sent:   Tuesday, December 23, 2008 2:12 PM

What is the expected output? What do you see instead?
Actual:
From: Ray Arcadu Sent: Martedì, 23 Dicembre 2008 2:12 

Expected:
From: Ray Arcadu 

 Sent: Martedì, 23 Dicembre 2008 2:12 


What version of the product are you using? On what operating system?
1.3.9

Please provide any additional information below.
I have fixed and one can read more and download the fixed version from here:
http://sjmittal.blogspot.com/2009/08/extending-jquery-translate-plugin-to.html


Original issue reported on code.google.com by [email protected] on 26 Aug 2009 at 2:07

Attachments:

Reliably barfs on '<pre>&lt;link&gt;</pre>'

What steps will reproduce the problem?
1. Create page containing "<pre>&lt;link&gt;</pre>"
2. Translate ('en' to 'ja' in the example)
3. Observe error in js console:
Error: elem is undefined
Source File: http://localhost/jquery-1.2.6.min.js
Line: 19

What is the expected output? What do you see instead?
Expected entire page to be translated, but translation stopped at this
point after a dozen or so successful chunks.

What version of the product are you using? On what operating system?
1.2.6 on Firefox 3.1b2 on OS X 10.5.6

Please provide any additional information below.
Nice work!


Original issue reported on code.google.com by [email protected] on 31 Jan 2009 at 8:22

Stops Translating in Middle of Page

Thanks for your help with my previous problem.
Your tool works perfectly here:
http://asnew-com.ihostingcentral.com

But when I translate one of the interior pages, it stops in the middle and
the remaining pages are still in English.
http://asnew-com.ihostingcentral.com/ListItems.asp

If you have time, could take a look and see where I went wrong?

Thanks,
Dale

Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 8:32

text-node sibling causes Flash object to be translated

What steps will reproduce the problem?
1. translate a section where a text-node sibling causes something excluded
with the "not" option to be overridden.
2. a Flash object deeper in the section will also be translated

What is the expected output? What do you see instead?
Flash objects should not be sent for translation but here they are.

What version of the product are you using? On what operating system?
jquery-translate 1.4.1
Firefox 3.5.6
IE 6

Please provide any additional information below.
I got a bug report for my WordPress plugin recently that after translation
a Flash movie wasn't working in Internet Explorer:
http://wordpress.org/support/topic/306760?replies=5#post-1330596

I tested it out and saw that Firefox was also translating the [Translate]
button which it shouldn't since it's excluded with the not option:
not:".translate_block"

I downloaded the page to my machine and stripped out all the extra
JavaScript and other things to isolate the problem. With the Firebug Net
monitor I saw that it was sending the <div class="translate_block"> and the
Flash object to be translated, which was breaking the Flash movie in IE.

After a lot of testing I saw that there was a text-node sibling to <div
class="translate_block">:
The Movie Poster, Cover, Description, Synopsis, Overview, Trailer, Genre, Cast

After isolating this text with <p></p> tags the [Translate] button and the
Flash movie were excluded from translation. I uploaded the two test cases
here for you to see:
http://noisychaos.com/external/gat_testcase/NotF.html
http://noisychaos.com/external/gat_testcase/NotF2.html

I don't know if this is how the not: option is supposed to work since the
code for your nodesContainingText plugin is hard to follow but it seems
like the Flash object shouldn't be sent for translation in either case.

Original issue reported on code.google.com by [email protected] on 29 Dec 2009 at 3:50

conflict with jquery.countdown

if i try to translate something that contains a div that has been populated
with jquery.countdown the page translates correctly the first time but it
will not translate any more...

this got fixed excluding that div from the translation...

i am not really sure if it is jquery.countdown specific or what is going on
but maybe someone reads this and dosnt have to try and find out what the
problem is when translator is not working as it should everytime..

Thanks for the great plugin!!



Original issue reported on code.google.com by [email protected] on 18 Oct 2009 at 6:46

brazilian portuguese

Hello there, great plugin... is there a way to replace pt-PT from Portugal
to pt-BR from Brasil ? Many thanks!

Original issue reported on code.google.com by [email protected] on 12 Oct 2009 at 6:05

Parts of a page do not translate in IE only

What steps will reproduce the problem?
1. set up a page with translation
2.
3.

What is the expected output? What do you see instead?
The site is using websphere portal and has a lot of nested divs etc so I am
not sure if this is the problem but the translation will only go about half
way down the page and then just stops


What version of the product are you using? On what operating system?
windows XP pro, 1.4.1.min


Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 30 Oct 2009 at 4:52

Attachments:

links injected in buttons and headers

I use jquery-translate to translate large pages. Occasionally I experience
two issues:

1) text gets injected into INPUT[type=submit] values.

2) text gets injected in other locations, for example it turns a h3 into a
link even if it was not originally a link.

The injected text is always a "<a href=...>...</a>" that appears somewhere
else in the page. 

Original issue reported on code.google.com by [email protected] on 30 May 2010 at 2:23

The character ">" become "&gt;" in a "input" element.

What steps will reproduce the problem?
1.see the page http://www.vdsoc.com, you'll see the button "Next >"
2. After traslation, the character ">" become "&gt;".

What version of the product are you using? On what operating system?
jquery.translate-1.4.6.min.js
jquery-1.4.2.min.js



Original issue reported on code.google.com by [email protected] on 21 Aug 2010 at 10:05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.