I'm using an Apple Macintosh,
1. From the Control Panel, I have set the Keyboard Language Preferences to POLISH.
2. I chose the language preferences Polish language set through the Character Panel in Illustrator.
3. This way the keyboard was able to write in Polish.
This method will hopefully be the solution.
Graphic Designer Educator / PrePress Consultant