It depends heavily on the language course. Duolingo's Italian course actually manages to teach grammar and usage through their standard translation setup, while their Japanese course does nothing of the sort. It does not work very well for the latter, I've been through most of it by now and it's just translation-translation-translation, which doesn't teach you much at all, because the translation to English really doesn't work with Japanese. For example, they keep translating 'itadakimasu' (いただきます in Hiragana) to "Let's eat!", but that's not what it means. Otherwise the taxi driver wouldn't ask you '1980 yen itadakimasu'.. :)
(and that's just one, there are so many.)