[Yanel-dev] language handling

Michael Wechner michael.wechner at wyona.com
Fri Nov 16 09:12:18 CET 2007


Hi

I just noticed within the resource class that it is now using the 
language handler and have two questions

   /**
     * Get language (localization) with the following priorization: <br><br>
     * 1) yanel.meta.language query string parameter<br>
     * 1.5) Realm-specific cookie
     * 2) Accept-Language header<br>
     * 3) Realm default language<br>
     * 4) Default "en"<br>
     */
    public String getRequestedLanguage() throws Exception {
        return 
getRealm().getLanguageHandler().getLocalizationLanguage(this);

    }


1) Wouldn't it make sense to move the javadoc into the Default Language 
Handler?
2) What is realm specific cookie?

and a third

3) Is there documentation how to use a realm specific language handler?

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list