raising error when phrase nil in translation.rb