Package com.day.cq.i18n

Examples of com.day.cq.i18n.I18n


     *
     * @param exposed
     */
    public I18nPlugin(SlingHttpServletRequest request) {
        super(request);
        this.i18n = new I18n(request);

        if (this.i18n != null) {
            this.enable();
        } else {
            this.disable();
View Full Code Here


        Locale locale = new Locale(language, country, variant);
        this.setI18n(locale);
    }

    public void setI18n(Locale locale) {
        this.i18n = new I18n(this.request.getResourceBundle(locale));
    }
View Full Code Here

     * Set i18n resource bundle; by default set to the Request
     *
     * @param request
     */
    public void setI18n(SlingHttpServletRequest request) {
        this.i18n = new I18n(request);
    }
View Full Code Here

TOP

Related Classes of com.day.cq.i18n.I18n

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.