Home > FAQs > Can I add I18N outside the Action's context |

Apache Struts 2 Documentation
Can I add I18N outside the Action's context
Edit Page Browse Space Add Page Add News

Most often, the Action provides access to the resource bundle through its `getText` method. To access another resource bundle, or to access the resource bundle without executing the Action first, use the `i18n` tag to push a resource bundle on the stack.

Within the scope of the `i18n}}tag, calls to the {{text` tag or {{%getText} will read from the specified resource bundle.