Microsoft Word Spell Check not working

Hello,

I'm a translator working with Trados Studio 2021 SR2 - 16.2.12.9338 and GS 2020 SR1 CU04.
At our place of work, we have Office 365. Everything is completely up to date.
A while ago, Microsoft Word Spell Check stopped working in Studio. Only for me - my colleagues with the exact same set-up, do not have this problem.

When I try to select Microsoft Word Spell Check instead of Hunspell, I get this error message:
"Unable to select spell checker extension.
Unable to locate if Microsoft Word is installed on this machine."

The spell check works just fine in Word!

Can you help me resolve this issue?

Thanks!

Kind regards,

Emma

emoji
Parents
  • Hello everyone,

    I have been able to reproduce this issue if I have manually added an (otherwise empty) custom macro in the default document template of Microsoft Word (Normal.dotm file). Spell checking communication relies on an empty document that is created by default by Word using that template in a temporary folder, leading to the issue in certain cases, possibly linked to changes recently done by Microsoft (maybe related to the group policy default changes that somebody also has pointed to).

    To cause the issue I simply recorded a macro in there (into Normal.dotm) and started Trados Studio, then attempted to set it to use Word as spell checker.

    To resolve the problem, I had to:

    - close Trados Studio, close Outlook
    - open Normal.dotm file in Word using Open / Browse and going to: C:\Users\{username}\AppData\Roaming\Microsoft\Templates
    - have all macros removed from ribbon Views / Macros dialog
    - close Word to save the document template

    However, for me this didn't immediately solve the issue; I also had to:

    - close all Winword.exe processes from Task Manager / Details
    - in Trados Studio attempt to set up Word spell checker again, in Options dialog / Spelling
    - in case of the macro-related error still appearing, repeat the two steps above and it has finally worked.

    This can help or not (still after removing the macros from Normal.dotm, though):

    - clean up temporary files from C:\Users\{username}\AppData\Local\Microsoft\Windows\INetCache\Content.Word
    - sign out and back in to Windows/restart machine
    - have Word app started (and Outlook too/not) before opening Trados Studio to set up the Word spell checking again.

    I don't know if this fix will apply in your cases (i.e. do you have macros in the default Word document template?), but I hope it helps!

    Sorin Dolha

    emoji
  • I forgot to say there, but you should surely backup your original Normal.dotm file before removing any macros, just in case you might need those at some point later. :-)

    Anyway, if you do need to have macros in Normal.dotm and want to use Word for spell checking in Trados Studio, you can try the following:

    - in Trados Studio / Options / Spelling, attempt to select Word as spell checker; it will start to wait for some communication with Word to see if it works;

    - in background (because the instantiated Word is a hidden window, it won't become focused, i.e. may be shown behind other windows!), Word will trigger a modal dialog about macros, allowing you to disable them

    - use Alt+Tab key to navigate between windows until you reach the macros dialog and close it;

    - the dialog may appear twice, close it again;

    - if you do these steps fast enough Trados Studio's waiting for communication with Word will not timeout, and eventually communication will be possible (even if in background Normal.dotm will be loaded without macros); i.e. you'll eventually see Word selected in the combo box in Options!

    - now you can use the Editor normally, you can see that Word spell checking works - you can validate by adding a wrong word into the custom dictionary and then check it from Word app;

    Note: unfortunately, this setting will only last until the next time you start Trados Studio; during startup, it will "see" that Word communication doesn't work well (the macros dialog appears again), but apparently there is no timeout for the wait there, so even if you are fast to close the dialog, the setting will be set back to HunSpell. But you can follow the original steps again then too; not very nice workaround, but may be good enough in case of emergency.

    I hope this helps as well.

    Sorin Dolha

    emoji
Reply
  • I forgot to say there, but you should surely backup your original Normal.dotm file before removing any macros, just in case you might need those at some point later. :-)

    Anyway, if you do need to have macros in Normal.dotm and want to use Word for spell checking in Trados Studio, you can try the following:

    - in Trados Studio / Options / Spelling, attempt to select Word as spell checker; it will start to wait for some communication with Word to see if it works;

    - in background (because the instantiated Word is a hidden window, it won't become focused, i.e. may be shown behind other windows!), Word will trigger a modal dialog about macros, allowing you to disable them

    - use Alt+Tab key to navigate between windows until you reach the macros dialog and close it;

    - the dialog may appear twice, close it again;

    - if you do these steps fast enough Trados Studio's waiting for communication with Word will not timeout, and eventually communication will be possible (even if in background Normal.dotm will be loaded without macros); i.e. you'll eventually see Word selected in the combo box in Options!

    - now you can use the Editor normally, you can see that Word spell checking works - you can validate by adding a wrong word into the custom dictionary and then check it from Word app;

    Note: unfortunately, this setting will only last until the next time you start Trados Studio; during startup, it will "see" that Word communication doesn't work well (the macros dialog appears again), but apparently there is no timeout for the wait there, so even if you are fast to close the dialog, the setting will be set back to HunSpell. But you can follow the original steps again then too; not very nice workaround, but may be good enough in case of emergency.

    I hope this helps as well.

    Sorin Dolha

    emoji
Children