Retrieve a list of all available locales in a given packagename.

        :param package_name: the package name to get locales of

def get_locales(self, package_name):
        """
        Retrieve a list of all available locales in a given packagename.

        :param package_name: the package name to get locales of
        """
        self._analyse()
        return list(self.values[package_name].keys())