Appendices > Internationalization in Rogue Wave Server > Creating a Program to Run in a Localized Environment
 
Creating a Program to Run in a Localized Environment
When creating a program that you intend to use in an internationalized environment, you code as you normally would for any other program. You must make sure, however, that you call the IlsSetLocaleOnce global function at the beginning of your program (or the global function IlsIlvSetLocale if using Rogue Wave® Server and Rogue Wave Views). This call should appear before any other calls to Rogue Wave Server (or Rogue Wave Views). The IlsSetLocaleOnce call is necessary for Rogue Wave Server to set up the underlying information it needs to run correctly in the default locale environment.
Note:  If you do not have a call to the function IlsSetLocaleOnce in your program, the localized messages may not appear on the screen and multibyte support will not be enabled. Your program will behave as if you are running in the C locale, thus displaying only English messages.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.