HPlogo MPE XL Native Language Programmer's Guide: 900 Series HP 3000 Computer Systems > Chapter 7 Application Programs Accessing NLS

File Naming Conventions

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

An application that is localized into several languages has separate message catalogs, VPLUS forms files, and other language-dependent data files for each of these languages. Establish a naming convention for these files that follows the language numbering used by NLS. To do this, use a file name that is up to five identifying characters followed by a three-digit language number, corresponding to the language of the file contents. (For example, the original, unlocalized data might be stored in a file whose name is FILE000; the FILE008 would contain the same data modified for German; and FILE012 would contain SPANISH data.) It is the responsibility of the application program to determine, at run time, which file to open. Once the language number is determined, the NLAPPEND intrinsic may be used to form the file name if this convention is followed.

Feedback to webmaster