the rule from the wiki to change the commonid from EN to DE does not work for me. I use OpenHAB2
To translate the commonID to german using the supplied MAP file use the following command in the rule: var String wetter = transform("MAP","weather_de.map",wuToday.state.toString) Important: The input variable has to be of type String!
07:31:51.576 [ERROR] [.script.engine.ScriptExecutionThread] - Error during the execution of rule ‘Inline Information’: The name ‘transform(,,)’ cannot be resolved to an item or type.
so it seems like it expects “transform” itself is an item and not a command?