text: public static string GetLocalizedMessage(string key, CultureInfo locale){string message = GetResourceBundleObject(key, locale);if (message == null){return "Message with key:" + key + " and locale: " + locale+ " not found.";}return message;}