HQ Internationalization

Localization and Language Packs in HQ 3.2

HQ 3.2 supports languages other than the default (US English). Here is what you need to know in order to add an additional language support into HQ.

In the open source version of HQ there are 20 localized files containing the text used throughout the application. In the Enterprise Edition there are two additional files. Adding support for additional languages is as easy as:

1. Locating and make copies of the following files in the deployment directories.

2. Identify the language and (Optional) country code for the language pack and build the localization string.

3. Adding the locale suffix to each of the .properties files.

4. Translate all the .properties files.

5. Start HQ.

Developer steps

Steps to add language pack support.

  1. Application encoding is set to UTF-8
    1. Must set the request to use the UTF-8 characterset by adding <%@ page language="java" contentType="text/html; charset=UTF-8" %> to the main JSP.
    2. Must set the response characterset to UTF-8 by adding <%@ page pageEncoding="UTF-8"%> to the main JSP.
  2. Add locale support to the jsp by adding locale="true" <html:html locale="true"> in MainLayout.jsp.
  3. Ensure that the characterset used in the language packs is UTF-8.
  4. Ready to drop language packs into the WEB-INF or WEB-INF/Classes directories.

**Note: once a language is selected other than the default in a session, the session must be reset in order to change languages. Also, since the latin character set (ASCII) is a subset of UTF-8 there is no reason to convert ASCII characters to UTF-8 characters.


Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced
- Activity

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

or Sign Up  

Other Features

Add Content


System Monitoring Software
SourceForge.net Logo