private String getMessages(String key) {
		String userLanguage = "en";
		try {
			userLanguage = userContext.getCurrentUser().getUserLanguage();
		} catch (Exception e) {
			noOp();
		}
		Locale locale = new Locale(userLanguage);
		return messageSource.getMessage(key, null, locale);
	}
Get the message from messageSource by the given key.

@param key key of message
@return the found message. If not found, the error message will return.
ngrinder-controller/src/main/java/org/ngrinder/home/controller/HomeApiController.java