Foundation > Internationalization > Localized Message Database Files in Rogue Wave Views > Location of the Message Database Files
 
Location of the Message Database Files
Localized message databases are located in a subdirectory under the locale directory. This subdirectory is named after the corresponding language and the encoding method used. The subdirectory name has the following format:
<ll_TT.encoding>
For example, on a UNIX system, the French message database files are found in the subdirectory fr_Fr.ISO-8859-1 under the locale directory. See the section Rogue Wave Views Locale Names for more information on the Rogue Wave Views locale naming conventions from which the subdirectory name is derived.
On UNIX Systems
French message database files can be found in the following directories:
*<$ILVHOME>/bin/data/locale/fr_FR.ISO-8859-1/editpnl.dbm
*<$ILVHOME>/bin/data/locale/fr_FR.ISO-8859-1/ilv2data.dbm
*<$ILVHOME>/bin/data/locale/fr_FR.ISO-8859-1/ilvedit.dbm
*<$ILVHOME>/data/ivprotos/locale/fr_FR.ISO-8859-1/protos.dbm
*<$ILVHOME>/data/iljscript/locale/fr_FR.ISO-8859-1/gide.dbm
*<$ILVHOME>/data/iljscript/locale/fr_FR.ISO-8859-1/messages.js
*<$ILVHOME>/data/ilviews/locale/fr_FR.ISO-8859-1/views.dbm
*<$ILVHOME>/studio/data/ivprotos/locale/fr_FR.ISO-8859-1 /prstudio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.ISO-8859-1/jsstudio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.ISO-8859-1/studio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.ISO-8859-1/vrstudio.dbm
On Microsoft Windows Systems
French message database files can be found in the following directories:
*<$ILVHOME>/bin/data/locale/fr_FR.windows-1252/editpnl.dbm
*<$ILVHOME>/bin/data/locale/fr_FR.windows-1252/ilv2data.dbm
*<$ILVHOME>/bin/data/locale/fr_FR.windows-1252/ilvedit.dbm
*<$ILVHOME>/data/ivprotos/locale/fr_FR.windows-1252/protos.dbm
*<$ILVHOME>/data/iljscript/locale/fr_FR.windows-1252/gide.dbm
*<$ILVHOME>/data/iljscript/locale/fr_FR.windows-1252/messages.js
*<$ILVHOME>/data/ilviews/locale/fr_FR.windows-1252/views.dbm
*<$ILVHOME>/studio/data/ivprotos/locale/fr_FR.windows-1252 /prstudio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.windows-1252/jsstudio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.windows-1252/studio.dbm
*<$ILVHOME>/studio/data/ivstudio/locale/fr_FR.windows-1252/vrstudio.dbm
You can run the following program to help you find the location of your message database files.
#include <ilviews/ilv.h>
#include <ilog/pathname.h>
#include <stdlib.h>
 
int main(int argc, char* argv[])
{
if (!IlvSetLocale()) {
exit(1);
}
 
IlPathName pname("");
pname.localize();
IlvPrint("\nLooking under directories: .../%s\n\n",
pname.getString().getValue());
 
return 0;
}
Note:  The C locale (that is, the Rogue Wave Views locale en_US), which is considered the standard, is an exception to the above mentioned rule. Rogue Wave Views .dbm files are located in the directory of the library that uses them. For example, views.dbm can be found in the directory:
<$ILVHOME>/data/ilviews/views.dbm.. You do not need to create the en_US.US-ASCII directory. Rogue Wave Views will automatically fall back to the regular data directory.
For example, on an HP-UX system with your LANG set to fr_FR.iso88591 or on a Solaris system with your LANG set to fr, you get the following result:
Looking under directories: .../locale/fr_FR.ISO-8859-1/
On a Windows system set to Japanese, you get:
Looking under directories: .../locale\ja_JP.Shift_JIS\

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.