ninja-core/src/main/java/ninja/i18n/LangImpl.java
private Cookie generateNinjaLanguageCookie() {
        
            
        Cookie cookie = Cookie.builder(applicationCookiePrefix 
                    + ninja.utils.NinjaConstant.LANG_COOKIE_SUFFIX, "")
                    .setMaxAge(TEN_YEARS).build();
            
        
        
        return cookie;
        
    }
private Cookie generateNinjaLanguageCookie() {
        
            
        Cookie cookie = Cookie.builder(applicationCookiePrefix 
                    + ninja.utils.NinjaConstant.LANG_COOKIE_SUFFIX, "")
                    .setMaxAge(TEN_YEARS).build();
            
        
        
        return cookie;
        
    }
private Cookie generateNinjaLanguageCookie ( ) { Cookie cookie = Cookie . builder ( applicationCookiePrefix + ninja . utils . NinjaConstant . LANG_COOKIE_SUFFIX , "" ) . setMaxAge ( TEN_YEARS ) . build ( ) ; return cookie ; }
Retrieves the language cookie or generates one with a very long max age (ten years).

@param context
@return The cookie
Retrieves the language cookie or generates one with a very long max age ( ten years ) .