I fixed the logic for translation. it works now by adding >< around the letters.