Meidogger:Snakesteuben/Fryske staveringshifker: ferskil tusken ferzjes

Content deleted Content added
Swarte Kees (oerlis | bydragen)
st
No edit summary
Rigel 1:
'''Kludging OpenOffice's West Frisian spell checker to work as a Firefox spellchecker.'''<br> (You don't have to have OpenOffice installed.)
 
''Under construction, draft in progress.''
All I have now is quick instructions, English only. Detailed instructions Frysk version in progress.
 
== Quick instructions ==
1. If you have never installed an additional Firefox spellchecker "dictionary," it would be a good idea to do so. I'm not 100% sure my hack will work otherwise. Plus, if you have at least one word list installed, it will be easier to make sure you're in the correct directory for step 2.
 
2. In the relevant Firefox profile directory, under subdirectory ''extensions,'' create a new directory. (I called mine "OpenOfficeFrysk.") In that new directory, create a subdirectory called ''dictionaries''.
 
3. Copy the files '''fy_NL.dic''' and '''fy_NL.aff''' from
share\dict\ooo (in windows, most likely c:\Program Files\OpenOffice.org x.x\share\dict\ooo) to the directory you just created.
 
If you don't have Open Office, or you don't have the fy word list installed there, download [http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/fy_NL.zip this file] and unzip it in the directory you just created.
 
4. In the relevant Firefox profile directory, make a backup copy of the file ''extensions.ini.'' Now edit the file and add a this line at the end of the [ExtensionDirs] section.
 
Extension''number''=''profile path''\extensions\OpenOfficeFrysk
 
Number should obviously be 1 greater than the highest number of existing extensions installed.
 
5. If Firefox is open, you'll need to restart it before the new word list will be available.
 
-----
 
 
''Detailed instructions: Under construction, draft in progress.''
 
 
Line 26 ⟶ 50:
 
Your spellchecker is now enabled, but we're not quite finished yet. Make a copy of your extensions.ini file, and make a note to yourself about what you did. The next time you install any standard plug-in, this file will be rebuilt. If you don't go to the further trouble of "registering"*link to dev site* your ''ad hoc'' extension in the application, then your dictionary's extension entry will be clobbered. After that, Frysk will not come up as your default spellcheck language, nor will it appear in your list of languages when you right click in a spellchecked field. To reenable your dictionary after installing Firefox extensions, you will need to edit your extensions.ini file again. First make a copy of the new extensions.ini just in case something unfortunate happens while you're editing. Copy the ** line from your backup extensions.ini file. Paste it at the bottom of the extensions list. Change the entry number to greatest number in file +1.
 
If you don't have OpenOffice installed, and you don't want to install it (or you want to install the West Frisian "dictionary" only in Firefox), skip to step 2.
 
1. If you 1) have Open Office installed, 2) haven't installed the West Frisian dictionary (it's actually a word list, not a dictionary. Pet peeve.), and 3) would like to install it, you can either:
 
# Use the automated installer. File -> Wizards -> Install new "dictionaries." Note: There's one wrinkle in the automatic installer. Frisian isn't on the menu. Click Nederlands/Dutch to get to it.
 
# Install the "dictionary" [http://lingucomponent.openoffice.org/manual_instal.html manually].
 
2. If you have never installed an additional Firefox spellchecker "dictionary," it would be a good idea to do so. That will make it easier for you to figure out the right profile directory where you'll be copying the files. Also, to be honest, I'm not entirely sure my hack will work if you've never installed a second language dictionary. There might be a switch or setting in Firefox that I don't know about. (If anyone knows one way or the other, please let me know.)
 
3. In the relevant Firefox profile directory, under subdirectory extensions, create a new directory where you'll put your copy of that list. (I called mine "OpenOfficeFrysk." I'll use that name in directions from now on.) In that new directory, create a subdirectory called ''dictionaries''.
 
4. If you now have the fy word list installed in Open Office, copy the files '''fy_NL.dic''' and '''fy_NL.aff''' from
share\dict\ooo (in windows, most likely c:\Program Files\OpenOffice.org x.x\share\dict\ooo) to the directory you just created.
 
If you don't have the word list installed yet, download this file into the directory you just created, and unzip it there.