How to add additional languages to Firestorm spell checker

General procedure

Since Firestorm spell checking is performed by Hunspell, which is used in Open Office and various other software, we need to use compatible dictionaries. This example explains the process of adding German to the spell checker, however the process is the same for other languages.

  • Since we're adding German, this page would be right one: http://extensions.services.openoffice.org/project/dict-de_DE_frami .
  • A little further down you will see a button or link saying Get it! with which we download the file named dict-de_DE-frami_2011-06-03.oxt. The link to download the actual dictionary may vary on other pages.
  • dict-de_DE-frami_2011-06-03.oxt is basically a zip archive and needs to be unpacked.
  • In the folder that was created by unpacking dict-de_DE-frami_2011-06-03.oxt you will find a folder called de_DE_frami
  • In this folder, copy the files de_DE_frami.aff and de_DE_frami.dic.
  • Navigate to your Firestorm Installationfolder, example C:\Program Files (x86)\Firestorm
  • Navigate to app_settings\dictionaries.
  • Paste (Ctrl-V) the 2 files you previously copied.
  • In this folder, copy the file called dictionaries.xml to your desktop and open it with a text editor.
  • Every entry for a language always begins with a <map> element ends with a </map> element.
  • Copy the text from and including <map> to </map> and paste it to add another entry.
  • Modify this new entry as follows:
<map>
<key>name</key>
<string>de_DE_frami</string>
<key>language</key>
<string>German (Germany)</string>
</map>

As you can see, the first <string> element contains the file name of the dictionary files (both have the same name, just a different suffix), and the second <string> element simply contains the display text for the selection drop down in the viewer. To clarify, here's what the entire file looks like after the change :

<llsd>
    <array>
        <map>
        <key>name</key>
            <string>de_DE_frami</string>
        <key>language</key>
            <string>German (Germany)</string>
        </map>
	<map>
        <key>name</key>
            <string>en_AU</string>
        <key>language</key>
            <string>English (Australia)</string>
        </map>
        <map>
        <key>name</key>
            <string>en_CA</string>
        <key>language</key>
            <string>English (Canada)</string>
        </map>
        <map>
        <key>name</key>
            <string>en_GB</string>
        <key>language</key>
            <string>English (United Kingdom)</string>
        </map>
        <map>
        <key>name</key>
            <string>en_US</string>
        <key>language</key>
            <string>English (United States)</string>
        </map>
    </array>
</llsd>
  • Save your changes to dictionaries.xml and copy the file back to your Firestorm installationfolder app_settings\dictionaries and replace the existing file.
  • If you were logged into Second Life during this process, you need to relog now.
  • In Preferences > Chat > Text Input you should now be able to select German in the drop down menu.
  • fs_add_languages_spellchecker.txt
  • Last modified: 2012/03/23 05:39
  • by pixelprophet_lane