Butchering some utility class to figure a reliable way to get
languages.The code is still pretty messy, especially the LgUtility class
so I don't expect anyone to use it until the class is complete.