diff --git a/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java b/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java index c30182a1f..f86c5f858 100644 --- a/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java +++ b/core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java @@ -38,59 +38,8 @@ import java.util.Locale; import java.util.Map; /** - * - *
* An interceptor that handles setting the locale specified in a session as the locale for the current action request. - * In addition, this interceptor will look for a specific HTTP request parameter and set the locale to whatever value is - * provided, it also looks for specific cookie to read locale from. This means that this interceptor can be used to allow - * for your application to dynamically change the locale for the user's session or, alternatively, only for the current - * request (since XWork 2.1.3). - * This is very useful for applications that require multi-lingual support and want the user to - * be able to set his or her language preference at any point. The locale parameter is removed during the execution of - * this interceptor, ensuring that properties aren't set on an action (such as request_locale) that have no typical - * corresponding setter in your action. - *
- * - *- * For example, using the default parameter name, a request to foo.action?request_locale=en_US, then the - * locale for US English is saved in the user's session and will be used for all future requests. - * If there is no locale set (for example with the first visit), the interceptor uses the browser locale. - *
- * - * - * - * - *