My home on the web - featuring my real-life persona!

Check spelling in HTML files

This is an interesting test - is anyone still listening/reading? It has been very quiet here while I was finishing my BS in Computer Science (look how I casually slipped that in!) and we had some huge projects at work - one increased my work load to handling 14 languages.

Anyway, I believe I am not the only one who translates a lot of HTML files. I use TagEditor and I like it (yes I do, I am not getting paid to say this) but one of it’s shortcomings is the spell checker. Like many, I have used workarounds to make sure my spelling is OK. Usually, I copy the text into Word to check the spelling. If I find a typo or want to change a sentence, I go back into TagEditor, make the change there to update the TM and then export another target file. And I always wished, I could just check the spelling in the HTML file itself.

I know a lot of WYSIWYG HTML editors have a spell checker. I can also open the HTML file in Word and make changes directly in Word. Either solution is not recommended because more often than not, they mess with the HTML code. Sometimes, it is just the indentation of the code but often they add or change tags which can cause problems on client site or even worse, corrupt the page.

The other problem is that you cannot see the file in its “natural habitat”, ie. processed by a browser. Word tries to show you what the page may look like but it is IE exclusive. Most WYSIWYG editors also emulate/integrate one browser or another to display the page but especially when using CSS styles, they usually fail.

I have been looking for a spell checker that works directly in Firefox, my default browser. There are many spell checkers that work in input locations, for example text boxes and fields, but nothing worked in the display static text of a web page. I looked back, and in December 2007 I was on the hunt the last time. Apparently I didn’t run into web pages issues since then because only today this problem came up again. Again, I did a quick search and low and behold, there now is a bookmarklet/plugin that works! I am trying to track down the origins, and I believe it originated from Urbano’s Blog written by alex. On a lot of other sites I found an additional link using that JavaScript that you can just drag and drop onto your bookmark toolbar in FF: Spellcheck Anywhere

Using it couldn’t be easier. Open the HTML page you want to check in Firefox (and this should be the default when double-clicking an HTML page anyway), then click on the bookmarklet and there you go, spell checking in your browser window! You can change the language to whatever spell checker you have installed - just click Ctrl-A to highlight all text, then right-click on any text portion and in the context menu select the desired language from Languages. If you need more languages, you can download those for free from Firefox Dictionaries & Language Packs

There is one small problem though, while it looks like it allows you to edit the HTML page, the changes are are not saved when you try to save the edited file. This is a little unfortunate because it would spare me the extra step of saving the target file in TagEditor again, but nevertheless, this will make my life so much easier!

The Linguists - Tonight (Feb. 26) on PBS

I just saw this in a magazine - tonight on PBS (10pm EST on my PBS station):

The Linguists is a hilarious and poignant chronicle of two scientists—David Harrison and Gregory Anderson—racing to document languages on the verge of extinction. In Siberia, India, and Bolivia, the linguists confront head-on the very forces silencing languages: racism, humiliation, and violent economic unrest. David and Greg’s journey takes them deep into the heart of the cultures, knowledge, and communities at risk when a language dies.

Before airing on PBS, The Linguists world premiered at the 2008 Sundance Film Festival and screened at more than 40 festivals worldwide. The Linguists is produced and directed by Seth Kramer, Daniel A. Miller, and Jeremy Newberger of Ironbound Films, and based upon work supported by the National Science Foundation under Grants No. 0452417 and 0438121 and by the Nonprofit Media Group.