ArcFM Solution Developer Guide
COM Projects

Version: 10.6.1a

Resource Center Home

When localizing a COM project, all DLL files must be translated. COM resource files are included with the ArcFM Solution installation in the following directory: Program Files\Miner and Miner\ArcFM Solution\Locales\409. This 409 directory contains U.S. English (409 is the Locale ID code that represents English). All DLL files in this directory must be translated. You may use a third-party translater for this.

Once all files are translated, they must be stored in a directory with a name that corresponds to the Locale ID code. For example, if you're translating to Latin American Spanish (e40a), you would copy all translated DLL files into this directory: Program Files\Miner and Miner\ArcFM Solution\Locales\e40a.

The ArcFM Solution uses the Locale ID (LCID) values as assigned by Microsoft. A complete list of these values is available in MSDN. ArcFM Solution uses the LCID Hex values (not LCID Dec).

Each DLL file name contains a Locale ID value. This value must be changed in the file name. For example a DLL file named mmCoreObjectsRes409.dll becomes mmCoreObjectsRese40a.dll when translating to Latin American Spanish.

Next, you will need to modify the LocaleID code in the Registry. Open the Registry and browse to the following location: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Miner and Miner\ArcFM8\Locale\. Right-click the LocaleID key and select Modify. Enter the LocaleID that corresponds with the language to which you translated the DLL files (e.g., e40a for Latin American Spanish).

Default Font: ArcFM uses the Windows default font. If this happens to be a non-unicode font, the localized application may appear garbled. You can specify a default font for the ArcFM Solution using the DefaultFontName registry key. This key is installed here: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Miner and Miner\ArcFM8\Locale\DefaultFontName. It is installed with a default value of NULL. When ArcFM encounters a NULL value, it looks to Windows for the default font. Set the value to the font you wish to use within your ArcFM Solution applications (e.g., Unicode, MS Sans Serif).

Process Framework Tasks: If you modify a task name, it must also be updated in the Process Framework Administration tool. Select the task on the Node Types tab and select Properties to edit it.

VB6 forms do not support Chinese characters in an environment that uses an English version of Windows. To localize VB6 forms to use Chinese characters, the ArcFM Solution application must be run in an environment that uses a Chinese version of Windows.

 

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com