parsing and translate properties files