Changeset 2296 for FCKeditor.Java/trunk

Show
Ignore:
Timestamp:
2008-07-25 23:49:38 (6 months ago)
Author:
mosipov
Message:

ASSIGNED - #2361: Provide interface for locale resolution

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/trunk/src/site/apt/i18n.apt

    r2295 r2296  
    2626  The interation pack offers you the capability to localize any string responded 
    2727  to the user on a global basis and on a per locale basis dependending on the 
    28   deployed framework/system (JSTL, Struts, Spring, Request, and other). 
     28  deployed framework/system (Request, JSTL, Struts, Spring, and other). 
    2929 
    3030  Read on to see how you can customize the system to your needs: 
     
    3434  The interface {{{java-core/apidocs/net/fckeditor/localization/LocaleResolver.html}<<<net.fckeditor.localization.LocaleResolver>>>}} 
    3535  contains only one method: 
    36    
     36 
    3737  * <<<Locale resolveLocale(final HttpServletRequest)>>>: It will be passed the 
    3838    current request instance on every request. It resolves the user locale according 
     
    5353 
    5454   * {{{java-core/apidocs/net/fckeditor/localization/impl/AcceptLanguageHeaderResolver.html}<<<net.fckeditor.localization.impl.AcceptLanguageHeaderResolver>>>}} (default): 
    55      It retrieves the first locale in the HTTP <<<Accept-Language>>> header, if 
     55     It retrieves the first locale in the HTTP <<<Accept-Language>>> header if 
    5656     availabe. 
    5757 
     
    6565 
    6666   After your have chosen your desired implemenation, you have to bind it to the 
    67    system. Put the fully-qualified class name of the implementation in the  
     67   system. Put the fully-qualified class name of the implementation in the 
    6868   <<<fckeditor.properies>>>: 
    69     
     69 
    7070+------------------------------------------------------------------------------+ 
    7171  localization.localeResolverImpl=<desired implementation> 
    7272+------------------------------------------------------------------------------+ 
    7373 
    74 * The Strings 
     74* The strings 
    7575 
    76   [[2]] <<The strings>>: <<<message.*>>> 
    77  
    78         dfdfdf 
    79  
    80   [] 
    81  
    82   Done 
     76  dfdfdf