added possibility to translate device types