Improved localization by replacing local depended code

Added translation mechanism. All translatable strings ware moved to lang config object <lang>. This change improve portability to other languages, made it more readable and compact. Language depended ifs in logic body code have been removed and placed in config.