RNUG Lotus User Group (www.vlaad.lv)

    Various dictionary files for Lotus Client, and posibility to switch between languages

    Vladislavs Tatarincevs  31 January 2009 11:53:48
    In many everyday life, I use three languages, Russian,Latvian and English.

    Spell checking is a nice thing, as when you type fast you can misspell a word.

    There are technotes in IBM Support which shows how you can obtain additional dictionary files for LN client (german, french, others) and also how you can switch dictionaries in easy way.


    How to obtain Notes client dictionary files

    http://www-01.ibm.com/support/docview.wss?uid=swg21199055

    Question
    You download an installation of Notes® from your Passport Advantage Web site; however, the client dictionary (.dic) files are not included. What alternate methods are available to obtain these files?


    Answer
    With a Notes and Domino® account, you can also download the file "Notes/Domino Dictionaries W32 English" Part # C8523NA (found as a subset of Part # CR31VNA) from your Passport Advantage Web site (http://www.ibm.com/software/passportadvantage). This file contains all the dictionary files for the Notes client.
    For further information, refer to the documents titled "How can you switch spell checker languages" (#1154399) and "How to access dictionary .dic files on the Notes client" (#1096224).
     

    Related information
    How to Access Dictionary .DIC Files on the Notes Client
    How Can You Switch Spell Checker Languages


    and there is one more, how to switch languages, not going inside the preferences, with the help you SmartIcon or (@Formula/Agent)


    How to create a Toolbar icon/SmartIcon to switch to a different language spell checker





    Question
    How do you create a SmartIcon to switch to a Spell Checker in a different language in Lotus Notes®?
     

    Answer
    You can create a SmartIcon to spell check using a specific language but you must have also have a corresponding agent within each database in which you wanted to use the icon.
    Steps:

    1. Create or use two existing SmartIcons that represent two different languages. In this scenario, the desired end result is to create two SmartIcons: one for English and one for French.

    From the File menu, choose Preferences --> SmartIcon Settings. Drag any two unused icons over to the list of icons on the right that are currently being used.

    2. Click one of these icons in the right list and cli ck Edit Icon. Add a Description (such as English) and then click Formula. In the Formula dialog box, insert the following formula:
      @Command([FileSave]);
      @Command([ToolsRunMacro];"(English Spell Check)");
      @PostedCommand([ToolsSpellCheck])
    3. Click OK --> Done --> OK to close all dialog boxes. Repeat this procedure to create a SmartIcon for any other language you want. In this example, repeat the procedure once to create a second icon for the French Spell Checker. Be sure to change the name of the Agent in the second line of your formula to "French Spell Check". Also, be careful to start the last line with @PostedCommand. This is to retain execution order.
      @Command([FileSave]);
      @Command([ToolsRunMacro];"(French Spell Check)");
      @PostedCommand([ToolsSpellCheck])

    4. In your mail file from the View menu, choose Agents (this will launch the Lotus Domino Designer client).

    5. Choose Create --> Agent.

    6. Name the agent, "English Spell Check". This agent should run "Agent List Selection" and in the drop-down box entitled "Which documents should it act on?", be sure to select a Target of "None". In older releases this selection is "Run Once @Commands may be used".

    7. Choose LotusScript for the agent language.

    8. Select the Initialize event and enter the following:
      Dim sess As New NotesSession
      sess.SetEnvironmentVar "SPELL_LANG", 1033, True
      sess.SetEnvironmentVar "Preference_en-US",",,,1033,,,,,,", True

      NOTE: The Preference parameter may vary for different languages.

    9. Save and close the agent.

    10. Repeat steps 5 through 8 for a second agent named "French Spell Check" with the following code:
      Dim sess As New NotesSession
      sess.SetEnvironmentVar "SPELL_LANG", 1036, True
      sess.SetEnvironmentVar "Preference_en-US",",,,1036,,,,,,", True
      This will set the spelling language to French Standard.

    11. Save and close the agent.

    12. Create a memo, type a few words, and test your script by clicking on either SmartIcon. The Spell Checker will run in the language specified by the SmartIcon.

    NOTE: The agents created in steps 5 through 11 must be copied or recreated in additional databases in order to make use of the SmartIcon within the additional database.

    Supporting information:
    An enhancement request to have Notes supply an @Command that allows you to access the Choose Dictionary dialog box directly (which would make it easier to create a SmartIcon to change your spelling dictionary) was submitted to Quality Engineering as SPR# EMN3HKCKG. There are no plans to investigate this request.

    New functionality in the Notes 6.0 client and later releases allows you to tag words in a document to be in a specific language, and when a spell check is run on the document, the correct language dictionary is referenced. For more information, refer to the Notes Online Help topic titled, "Spell checking language tagged text in documents".
     

    Related information
    Which Language Corresponds to the Value of the SPELL_LA
     

     
    Historical Number
    170691

    Archives