normalize text nodes and translate them as a whole with implicit translation

before translation nodes were created word by word, which does not work very well for most languages