Translation proposition

I've started with fixing typos and stuff, and ended up rewriting most of the code, but now it's a little better (and complete).