Pages: 1
Print
Author Topic: 6.0 Spell checking for xml:lang=en-ca  (Read 1575 times)
jcollins
Member

Posts: 2


« on: December 10, 2009, 02:19:37 PM »

The new changes to the 6.0 spell checker are exciting.  We are trying to make use of the xml:lang recognition feature for spell checking.  I think we have gathered most of the information, but can't quite connect the dots yet.  We'd appreciate some help.

We want to use the Canadian dictionary to spell check a file if the xml:lang code is "en-ca".  OOTB, the demo version doesn't quite handle this right.  Spell checking a document with the lang code of en-ca generates a warning dialog which I included as an attachment.  It basically tells me the dictionary isn't installed.  However, if I use the language code of "en-ce" (notice the ce, not ca) then the Canadian spell checker works great and prompts me to spell "color" as "colour". 

I figured that this means I need to give XMetaL a hint about what language code to associate with which dictionary.  I discovered the Help topic on "Controlling the active dictionary via xml:lang" which indicates that I can make an entry in an INI file to give XMetaL this hint.  I think my whole question boils down to what is the syntax of the entry in the ini file and what ini file is the right one (maybe xmetal.ini?).

Thanks for your help.


* xmetal-lang.JPG (24.15 KB, 640x512 - viewed 167 times.)
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: December 11, 2009, 02:47:54 PM »

I've posted a reply here:
http://forums.xmetal.com/index.php/topic,539

(it was written to cover this topic in general and not in direct response to this question so I started a new topic to make it easier to find)
Logged
Pages: 1
Print
Jump to:  

email us