Spell Check Locale Mapping

Following a customer request, we’ve added a new mini feature to Spell Checking in Designer.  At the moment, Designer supports spell check for about 35 different locales.  Before the magic of locale mapping, if your locale wasn’t on the list, your were essentially out of luck; even if your locale was, for all practical purposes, identical, to a supported locale.

Let me provide an example of customer pain. 

Say you’re Australian.  Aussie English is actually quite similar to Canadian English.  However, if you set your form’s locale to en_AU, you’ll get cute little warning icons telling you that spell check doesn’t support en_AU.  And you’ll sit there fulminating, thinking “Geez!  Aussie English is *practically* Canadian English!  Why can’t this stupid program just use the Canadian English settings for spell check?!”

Of course, you could get around this limitation by, say, setting your form to en_CA, doing the spell check, and then changing it back – but that’s a real pain.

Now there’s a better, easier, way.

There’s now a new file, SpellCheckLocaleMapping.xml, that is created in each user’s Designer data directory (under …\Users\your_username\AppData\Adobe\Designer\8.x).  In this XML file, users can add entries that tell Designer to use alternate locales for spell checking.

The file looks like this:

<LocaleMap>

<!– In order to map spell check locales, add an entry for each locale to map:

<Map locale=”en_AU” to=”en_CA”/>

Where “locale” is a locale which does not support spell check and “to” is the locale that will be used to perform spell check on nodes who’s locale matches “locale”.
–>

</LocaleMap>

You can just copy/paste the <Map …/> line so that it’s not in the comments anymore.  Then set the “locale” and “to” attributes.  You need to restart Designer for changes in this file to take effect.

This feature is available in Designer 8.1 and later. There’s no UI in Designer for this feature.