You localize element names by creating a TurboIntegrator
process that creates the Caption attribute for all elements of a specific
dimension on your IBM® Cognos® TM1® server, then assigns Caption values for the
element 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 AttrInsert and
AttrPutS, see the IBM Cognos TM1 Reference Guide.
Procedure
- Create a new TurboIntegrator process.
- On the Prolog tab, enter the following function:
AttrInsert(
'<dim_name>', '', 'Caption', 'S');
This function
creates the Caption attribute as a string attribute for the elements
of the <dim_name> 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 AttrInsert(
'<dim_name>', '', 'Caption', 'A');
- For each element name that you want to localize, insert
an AttrPutS function for each language that you want to make available
on your TM1 server.
For
example, if you want to localize the January element into French,
German, and Portuguese, your process would include the following functions:
AttrPutS('Janvier', 'Month', 'January', 'Caption', 'fr');
AttrPutS('Januar', 'Month', 'January', 'Caption', 'de');
AttrPutS('Janeiro', 'Month', 'January', 'Caption', 'pt');
- Save and execute the TurboIntegrator process.
Results
After the process successfully executes, the TM1 clients that support localization display
any localized element names for the locale in which the client is
running.