Installation guide
Table Of Contents
- Gateway Customization Guide
- Contents
- Preface
- Introduction
- Setting Up the Gateway
- Gateway Installation Planning
- HTTP Server Configuration
- Creating a New Gateway Instance
- Gateway .conf File Configuration
- Configuring Gateway Clients
- Gateway Localization
- File Controlling Gateway Functionality
- Editing Entry Types
- Search Attributes, Filters, and Results
- Customizing Graphics and Color
- Parameters Defined in the .conf File
- Gateway Directives
- Introduction
- Context-Related Directives
- Entry-Related Directives
- DS_ENTRYBEGIN
- DS_ENTRYEND
- DS_ATTRIBUTE
- DS_OBJECTCLASS
- DS_VIEW_SWITCHER
- DS_SORTENTRIES
- DS_SEARCHDESC
- DS_POSTEDVALUE
- DS_EDITBUTTON
- DS_DELETEBUTTON
- DS_SAVEBUTTON
- DS_EDITASBUTTON
- DS_NEWPASSWORD
- DS_CONFIRM_NEWPASSWORD
- DS_OLDPASSWORD
- DS_HELPBUTTON
- DS_CLOSEBUTTON
- DS_BEGIN_ENTRYFORM
- DS_END_ENTRYFORM
- DS_EMIT_BASE_HREF
- DS_DNEDITBUTTON
- DS_BEGIN_DNSEARCHFORM
- DS_ATTRVAL_SET
- IF/ ELSE/ ELIF/ ENDIF
- Miscellaneous Directives
- CGI Usage
- Index
- List of Tables

Setting Up Locales for Translation
Chapter 3 Gateway Localization 47
dsgw-l10n.conf
dsgw-l10n.conf provides translation in the Search and Advanced Search pull-down
menus for the default gateway (
dsgw.conf). If dsgw-l10n.conf is not present in the
/config/lang directory, translation of the UI does not occur and English characters
appear in the pull-down menus for Standard Search and Advanced Search.
The following example shows how to create a new locale using Chinese as the language for
translation:
1. Create a zh directory in the serverRoot/clients/dsgw/context directory.
2. Copy the dsgw.conf file to the serverRoot/clients/dsgw/context/zh directory.
3. Open the gateway's .conf file in a text editor, and uncomment this line from the file:
include "../config/dsgw-l10n.conf"
4. Save your changes, and close the file.
5. Create a zh directory in the serverRoot/clients/dsgw/config directory.
6. Copy (or create) the dsgw-l10n.conf file (stored during gateway installation in
serverRoot/clients/dsgw/config/lang) to the
serverRoot/clients/dsgw/config/zh directory.
NOTE If you are using the US version of the gateway,
dsgw.conf contains a
sample of
dsgw-l10n.conf.