Added getLocalizedMessage with string key.