LaTrine is a curses-based LAnguage TRaINEr. It takes a dictionary and asks you for a word or a phrase, and you try to give the correct answer. The direction is configurable. The selection of the words or phrases depends on how often you don't know the correct translation. It can be used with the Free Dictionaries Project, which provides dictionaries for about 50 language combinations.