Ofcourse you can detect a language! Well, maybe not a system one, but still you can do it!
Take example of my A/D server, it detects your language and sends the correct messages ( only added principal languages for the countries theirselves, not any colonies, sigh )
All it takes is to get the country and then translate it inside the script. ( that's how I did it in my A/D Server )