Skip to main content

Everybody Makes Mistakes

In February 2008, out of necessity, I developed (using publicly available code) my on-the-fly multi-lingual translator applet, which you can see in the top of the sidebar. When originally developed, the applet offered a dozen or so languages, a population which has now grown to 34, from several enhancements.

Some time ago, I became aware of an anomaly which bothered me mildly - if you were viewing an archived post in your blog, and you used the translator, you would get a nicely translated copy of the main page of the blog, not of the archived post. In other words, if you had attempted to translate Make Your Blog Speak More Languages, you would, none the less (today) have gotten a translation of Importing / Exporting Blog Contents Now In Production (Orange) Blogger.

This was slightly annoying, but just one more oddity which I never took the time to research. Until today.

To shorten this narrative somewhat, today I found a small code error which caused the anomaly. If you acquired this applet from the original post Make Your Blog Speak More Languages, your copy will probably have this code problem, too. Fortunately, it's a simple correction, in the header section of the applet code.

<form action="http://www.google.com/translate">

<script language="javascript" type="text/javascript">

<!--

document.write ("<input name=u value="+location.href+" type=hidden>")

// -->

</script><input value="http://blogging.nitecruzr.net/" name="u" type="hidden"/>

<noscript><input value="http://blogging.nitecruzr.net/" name="u" type="hidden"/></noscript>

<input value="en" name="hl" type="hidden"/>

<input value="UTF8" name="ie" type="hidden"/>

<input value="" name="langpair" type="hidden"/>

<input onclick="this.form.langpair.value=this.value" title="Andorran / Catalan" value="en|ca" type="image" height="20" src="http://1.bp.blogspot.com/__v4nth5_ki0/SP-fM7vwhSI/AAAAAAAAHl0/ZoZkfhEb01M/s320/Andorra+-+Catalan+-+ad_flag.png" width="30" name="langpair"/>

...

</form>

<a href="http://blogging.nitecruzr.net/2008/02/make-your-blog-speak-more-languages.html"><span style="font-weight:bold;">What Are These?</span></a>

If your blog is using the code which I provided, you may wish to look in your applet code for the snippet highlighted above, and remove it. I think that will make the applet then reliably translate whatever individual post (archive, label search, what have you) rather than simply the blog main page.

Everybody makes mistakes, sorry about that.

>> Top

Comments

Popular posts from this blog

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

With Following, Anonymous Followers Can't Be Blocked

As people become used to Blogger Following as just another tool to connect people, they start to think about the implications . And we see questions like How do I block someone who's been following my blog secretly? I couldn't see her in my Followers list (hence I couldn't use the "Block this user" link), but I have looked at her profile and could see that she's Following my blog. Following, when you look at the bottom line, is no more than a feed subscription and an icon (possibly) displayed on your blog, and linking back to the profile of the Follower in question. If someone Follows your blog anonymously, all that they get is a subscription to the blog feed. If you publish a feed from your blog, and if the feed is open to anybody (which, right now, is the case ), then it's open to everybody. If someone wants to use Following to subscribe to the feed, you can't stop this. You can't block it before, or after, the fact. You can't Block w