Skip to Main Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced content levelIntermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
22
Internationalization
In this chapter, I discuss the features in XView that allow applications to be international-
ized. For additional information on internationalization for XView Version 3.2, refer to the
XView 3.2 Developer’s Notes, Part II “Internationalization,” distributed by Sun Microsys-
tems, Inc. It describes the internationalization modifications by package as well as XView’s
wide character support. Internationalized applications do not have to be redesigned or
recompiled to run in a different language or locale. The goal is to make a single object ver-
sion of an application support any number of languages. The attribute XV_USE_LOCALE
enables the internationalization features. All internationalized applications must set this
attribute to TRUE.
The basic idea in internationalization is to separate language-specific data from the rest of
the application code. Adapting the application to any supported language, or localization,
then requires modification of only the language-specific data. The task of internationaliza-
tion includes translation of application-specific strings and modification of layout files. All
other aspects of the user interface are handled by XView.
The internationalization features discussed in this chapter are:
Locale Setting
Before running an internationalized application, a user must choose what language
to run in. This is done by the locale setting mechanism ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 6A: Motif Programming Manual

Volume 6A: Motif Programming Manual

David Brennan, Dan Heller, Paula Ferguson
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Alejandro Terrazas, John Ostuni, Michael Barlow

Publisher Resources

ISBN: 9780937175873