ABAP in Eclipse: How to customize spell checking for other languages than english
If you start developing using ABAP in eclipse you realize, that the editor has a spell checker. It works fine for English but for other languages it looks like this:
Before I will explain you how you can configure a spell checking for German, let me just mention that from my point of view you should write all comments in the code in English. First of all it is a matter of taste. Mixing languages (English word from ABAP and in my case German comments) doesn’t look nice. Furthermore, if e.g. a SAP colleague from the support team, who does not speak English, debug also my code, he can better understand what I have done. And if you are working in an international company it should be the standard anyway.
So, what can you do? First of all a quick fix is available here too. If you press Ctrl-1 the following popup appears:
You can either add the missing words to the dictionary or you can disable the spell checking. Let’s assume that we want a German spell checking. Therefore we need a file, which contains all the German words with one word per line. Fortunately Albrecht Weinert provides such a list (Download it here: http://www.a-weinert.de/frame4j/downloads/de_DE.dic). Download the file and put it in some dictionary.
Then you go to the preferences and add it there:
Finally you may need to close and open the editor to activate the spell checking.