Replaced the translation selection logic with one dumber and more robust.