Skip to main content

Is it possible to set a value for PROF_PREFERRED_LANGUAGE for all users in IBM Connections?


Technote (troubleshooting)


Problem

If a language code is not set in the column PROF_PREFERRED_LANGUAGE of the EMPLOYEE table, a recipient may receive a notification mail from Profiles in the senders browser language. Can a default for all users be set to overcome this limitation?


Symptom

Notification mails from Profiles are received in the language of the sender.
This may not necessarily be the same language of the recipient.

Cause

This has been identified as a product defect under APAR LO70372

Environment

IBM Connections 3.0

Diagnosing the problem

The language code was missing for the recipient user from the employee table, PROF_PREFERRED_LANGUAGE column.


Resolving the problem

This can be populated by TDI by mapping an attribute containing the two digit country code
from the LDAP server.

Alternatively, if no suitable attribute exists in the LDAP, a code may be set for all users by
adding a function to write the same value to all users.

English 'en' is used in the example below.

For the correct format, users can reference the locale code that their browsers use, or consult
the ISO639 and ISO3166 standards for the standard locale and country codes respectively.

Edit the profiles_functions.js file in the TDISOL directory to add

function func_setpreferredLang(fieldname)
{
var result = "";
result = 'en'
return result;
}


Then include this new function into the map_dbrepos_from_source.properties file
preferredLanguage={func_setpreferredLang}

Following the next synchronization by TDI, a value 'en' will have been written to all users.
Subsequent notification mails from Profiles will be sent in English and not in the language of the sender.



Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Connections


Software version:
3.0, 3.0.1


Operating system(s):
AIX, Linux, Windows


Reference #:
1606979


Modified date:
2012-08-02

Translate my page

Content navigation