Reply to: Using xml:lang Values to Control Spell CheckingFebruary 3, 2014 at 4:45 pm
I have a few questions.
1. Is all of the information still accurate for XMAX v7?
2. We've noticed the following behavior when playing with the xml:lang attribute:
xml:lang=”en” accepts “color” and “colour” as valid words.
xml:lang=”en-US” accepts “color” and stops on “colour” (expected)
xml:lang=”en-CA” does not seem to work. It doesn't even stop on “sfsdfsdfsf”.
When the xml:lang attribute is omitted entirely, it accepts “colour” but stops on “color” (is this en-CA?)
xml:lang=”fr-CA” does not work either. All words are ignored.
xml:lang=”fr” seems to work for the french dictionary, but is it Canadian French?
We need to be able to specify en-CA and fr-CA languages for the spell checker. How can we accomplish this?
(Also, is there an .ini file when using XMAX? I could not find one.)
3. Is there an API function that we can call instead of setting the xml:lang attribute (since our current DTD does not allow it)?