Using Siebel Tools > Localizing Strings and Locale Data > Using the Locale Management Utility >

Using the Command Line to Run the Locale Management Utility


You can use the command line to run the Locale Management Utility. The commands that this topic describes use the following format:

  • xxx. A placeholder for a required parameter.
  • [xxx]. A placeholder for an optional parameter.
  • xxx|yyy. An OR condition (for example, xxx or yyy).

You must include the absolute path with any file name that you specify. For example, if you specify the export file as results.txt, then the utility creates this file in the current folder. In this example, if the installation folder is C:\Program Files\Siebel\8.0\Tools, then the utility creates this file in the following folder:

C:\Program Files\Siebel\8.0\Tools\BIN

It does not create it in the following folder:

C:\Program Files\Siebel\8.0\Tools\OBJECTS

Using the Command Line to Export Strings and Locale Properties

The command that this topic describes allows you to export localizable properties for all projects or for all applications. You can specify one of the following values:

  • all. Export all translatable properties and language override properties to a file that uses an .slf extension.
  • string. Export only string properties to a file that uses a .txt or .xlf extension. If you do not specify a file name, then the utility displays an error.
Format

This command uses the following format:

/lmu source_language target_language export proj|app all|string file [project_file]

Project Parameter

The Locale Management Utility includes the following parameter:

project_file

You can use it to identify the projects to export. This parameter identifies the name of an ASCII text file that includes a list of projects that are delimited by a line feed. If you do not include the project_file parameter, then the utility exports all projects.

You can use the proj|app parameter to identify the projects or applications that include the strings to export. If you use the project_file parameter, then you must choose proj. If you choose app, and if you include the project_file parameter, then the utility ignores this file. For more information about projects, see Checking Out and Checking In Projects and Objects.

Example

The following command exports properties:

siebdev /u sadmin /p db2 /d server /lmu ENU FRA export proj all C:\temp\my_proj_results.slf C:\temp\proj_to_exp.txt

This example exports all string properties and language override properties for the projects that the following file lists:

C:temp\proj_to_exp.txt

It exports these properties to the following file:

C:\temp named my_proj_results.txt

The source language of the file is English-American (ENU) and the target language is French (FRA).

Using the Command Line to Import a File

The command that this topic describes allows you to import a file. If the source string in the import file is different than the source string in the repository, then it marks the target locale object as Redo.

Format

This command uses the following format:

/lmu source_language target_language import file

Example

The following command imports a file:

siebdev /u sadmin /p db2 /d server /lmu ENU FRA import "C:\Program Files\Siebel\8.0\Tools\objects\results.slf"

This example imports the results.slf file from the following folder. This folder is the installation folder for an earlier version of Siebel Tools:

C:\Program Files\Siebel\8.0\Tools\objects

The source language of the file is English-American (ENU) and the target language is French (FRA).

The file includes all localizable string properties and language override properties.

Using the Command Line to Export Strings That Require Translation

The command that this topic describes allows you to export all untranslated strings and strings marked with the Redo flag to a file. It can export all projects or all applications. The exported file includes the related view names.

Format

This command uses the following format:

/lmu source_language target_language todo proj|app [file]

Example

The following command exports strings that require translation:

siebdev /u sadmin /p db2 /d server /lmu ENU FRA todo app "C:\Program Files\Siebel\8.0\Tools\objects\results.txt"

This example finds all untranslated strings and redo strings for all applications. It exports the results to the following file:

C:\Program Files\Siebel\8.0\Tools\objects\results.txt

The source language is English-American (ENU) and the target language is French (FRA).

Using Siebel Tools Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.