Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 10 Creating Actions Manually

Creating Localized Actions

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

The search path for data types includes language-dependent locations. The desktop uses the value of LANG to determine the locations searched for data type definitions.

Locations for Localized Actions

Localized action definitions must be placed in the proper language-dependent directories along the actions search path.

The default search path is:

  • Personal actions: HomeDirectory/.dt/types

  • System-wide actions: /etc/dt/appconfig/types/language

  • Built-in actions: /usr/dt/appconfig/types/language

To Localize an Existing Action

  1. Create a file in the appropriate language-dependent directory (for example, in /etc/dt/appconfig/types/japanese).

  2. Copy the action definition to the language-dependent configuration file.

    For example, you might copy an action definition from

    app_root/dt/appconfig/types/C/file.dt

    to

    app_root/dt/appconfig/types/japanese/newfile.dt
  3. Add a LABEL field or modify the existing LABEL field.

    LABEL   string

    Application Manager and File Manager use the label string to identify the action's icon.

  4. Localize any of the following fields in the action definition:

    • For localized icons: ICON

    • For localized On Item help: DESCRIPTION

    • For localized prompts: any quoted text in the EXEC_STRING

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.