Add initial machinery for translating docs

I will leave this unmerged until I go through and do #710 and clean up the docs.