Changeset 2296 for FCKeditor.Java/trunk
- Timestamp:
- 2008-07-25 23:49:38 (6 months ago)
- Files:
-
- 1 modified
-
FCKeditor.Java/trunk/src/site/apt/i18n.apt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/trunk/src/site/apt/i18n.apt
r2295 r2296 26 26 The interation pack offers you the capability to localize any string responded 27 27 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). 29 29 30 30 Read on to see how you can customize the system to your needs: … … 34 34 The interface {{{java-core/apidocs/net/fckeditor/localization/LocaleResolver.html}<<<net.fckeditor.localization.LocaleResolver>>>}} 35 35 contains only one method: 36 36 37 37 * <<<Locale resolveLocale(final HttpServletRequest)>>>: It will be passed the 38 38 current request instance on every request. It resolves the user locale according … … 53 53 54 54 * {{{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 ,if55 It retrieves the first locale in the HTTP <<<Accept-Language>>> header if 56 56 availabe. 57 57 … … 65 65 66 66 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 68 68 <<<fckeditor.properies>>>: 69 69 70 70 +------------------------------------------------------------------------------+ 71 71 localization.localeResolverImpl=<desired implementation> 72 72 +------------------------------------------------------------------------------+ 73 73 74 * The Strings74 * The strings 75 75 76 [[2]] <<The strings>>: <<<message.*>>> 77 78 dfdfdf 79 80 [] 81 82 Done 76 dfdfdf