General XMetaL Discussion
jcollins December 10, 2009 at 8:19 pm
6.0 Spell checking for xml:lang=en-caDecember 10, 2009 at 8:19 pmParticipants 0Replies 1Last Activity 12 years, 9 months ago
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.Derek Read December 11, 2009 at 8:47 pm
Reply to: 6.0 Spell checking for xml:lang=en-caDecember 11, 2009 at 8:47 pm
- You must be logged in to reply to this topic.