Localizing dimension names

You localize cube names by creating a TurboIntegrator process that creates the Caption attribute for all cubes on your IBM® Cognos® TM1® server, then assigns Caption values for the dimension names you want to localize.

Before you begin

For complete details on using TurboIntegrator, see the IBM Cognos TM1 TurboIntegrator Guide. For details on all TurboIntegrator functions, including DimensionAttrInsert and DimensionAttrPutS, see the IBM Cognos TM1 Reference Guide.

Procedure

  1. Create a new TurboIntegrator process.
  2. On the Prolog tab, enter the following function:

    DimensionAttrInsert( '', 'Caption', 'S');

    This function creates the Caption attribute as a string attribute for the dimensions on your TM1 server. Alternatively, you can create the Caption attribute as an alias attribute type. The benefit of creating the Caption attribute as an alias is that an alias attribute value can be passed as an argument to other TM1 functions, while string attribute values cannot.

    To create Caption as an alias attribute, enter DimensionAttrInsert( '', 'Caption', 'A');

  3. For each dimension that you want to localize, insert a DimensionAttrPutS function for each language that you want to make available on your TM1 server.

    For example, if you want to localize the Model dimension into French and Portuguese, your process would include the following functions:

    DimensionAttrPutS( 'Modèle', 'Model', 'Caption', 'fr' ); 
    DimensionAttrPutS( 'Modelo', 'Model', 'Caption', 'pt' ); 
  4. Save and execute the TurboIntegrator process.

Results

After the process successfully executes, the TM1 clients that support localization display any localized dimension names for the locale in which the client is running.