New function

Add new function localizatorCheckForErrors