The same translation principles apply for idioms as for other figures of speech. Sometimes it will be necessary to translate with a nonfigurative expression, but sometimes a good receptor language idiom may be used. The translator needs to learn to recognize the idioms and other figures of speech of the source text. The real danger comes in translating an idiom literally, since the result will usually be nonsense in the receptor language.