public interface I18nTranslationMode
JIRA will check the HttpServletRequest for sensibleness however and hence it may not be set.
Modifier and Type | Method and Description |
---|---|
boolean |
isTranslationMode() |
void |
setTranslationsModeOff()
Turns off the i18n translations mode for this thread.
|
void |
setTranslationsModeOn(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Attempts to turn on the i18n translations mode.
|
boolean isTranslationMode()
void setTranslationsModeOn(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletRequest
- the request in playhttpServletResponse
- the response in playvoid setTranslationsModeOff()
Copyright © 2002-2019 Atlassian. All Rights Reserved.