Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package br.com.caelum.vraptor.i18n;
 
 
ResourceBundle producer to locale configuration

Author(s):
Denilson Telaroli
public class I18nLocalization extends JstlLocalization {
	private final HttpServletRequest request;

Deprecated:
CDI eyes only
	protected I18nLocalization() {
		this(null);
	}
		super(request);
		this. = request;
	}
		return super.getBundle();
	}
	public Locale getLocale() {
		return super.getLocale();
	}
	private void setLocaleFromRequestParameter() {
		String locale = .getParameter("_locale");
		if(locale != null) {
			Config.set(.getSession(), .locale);
		}
	}
New to GrepCode? Check out our FAQ X