Using Siebel Tools > Localizing Strings and Locale Data > Using Advanced Compile to Localize a Repository >
Overview of Using Advanced Compile
Advanced Compile is a feature in Siebel Tools that you can use to assist with localization. If you localize a repository, then you can use Advanced Compile to avoid the following problems:
- Localization is not complete when testing begins. Localized strings might become available only later in the development process. This situation requires you to delay testing until the localized strings are available or to test without these strings.
- Missing translations might be difficult to find. After you import localized strings, you might start testing using a language repository, but some strings might be missing because one of the following occurs:
To avoid these problems, Advanced Compile does the following:
- Inserts a temporary string for each missing translation so that Siebel CRM remains functional.
- Adds a pseudolocalization prefix to each string, which is a prefix that Siebel Tools uses to test the appearance of string in a language. It can include identifying characters, such as an Asian character or an accented European letter.
Benefits of Adding a Prefix
Adding a pseudolocalization prefix provides the following benefits:
- Detects a hard-coded string. Adding a prefix makes the string different from the original English string. The code that references a hard-coded string fails. For example, Advanced Compile adds the ÐØÉ_ prefix to a customer status string named ACTIVE. If you hard-code a reference to this ACTIVE string, then this hard-coded reference cannot locate the ACTIVE string because it does not match ÐØÉ_ACTIVE, and the code fails.
- Detects code that does not accept a non-ASCII character. If a script or add-in product that is not correctly internationalized encounters a string that includes a pseudolocalization prefix, such as ÐØÉ_ACTIVE, then an error can result. If this string does not include the pseudolocalization prefix, then Siebel CRM might not detect the error until localization is performed. Fixing this problem late in the development effort might be problematic.
- Increases string length up to three characters. If the translation is longer than the original text, then this increased length allows you to test field size and column size to make sure these sizes can accept a localized string. This situation might occur with a Western European language.
Data That Advanced Compile Modifies in the Repository
Advanced Compile does not modify the underlying data in the repository. It modifies only the strings in the compiled repository. It works on only strings that the S_SYM_STR table contains. It does not work on error messages that separate applications contain, such as Siebel Handheld or a third-party application.
|