Read keys from the right translation table!
Use correct positions when creating transformed string and don't do PG-PP RG-PG replacements if out==translate