localize static nodes as well and add getAllNodes for translateNode