nsILocale *locale = nsnull;
extern "C" nsIStringBundle* nlsCreateBundle(char* bundleURL){	nsresult ret;	nsIStringBundleService *service = nsnull;	nsIStringBundle* bundle = nsnull;	nsILocale *locale = nsnull;	// Get the string bundle service	ret = nsServiceManager::GetService(kStringBundleServiceCID,										kIStringBundleServiceIID,										(nsISupports**)&service);	if (NS_FAILED(ret)) {		return NULL;	}	// Create the bundle	ret = service->CreateBundle(bundleURL, locale, &bundle);	if (NS_FAILED(ret)) {		return NULL;	}	NS_IF_RELEASE(service);	return bundle;}