But in general, should a template or a language be installed first, or does this not matter?
The order does not matter. But it looks like you are missing some language files, or copied them to the wrong location. That is why you are seeing the defines (CAPITAL TEXT).