Fix viewdocs.phtml to accept two-letter or three-letter language codes