Setting the language in the initial phase

This is part of #368