Hi Rebecca,

It just occurred to me that what you are trying to do is actually already 
possible with a little bit of configuration. You can add a "display name" or 
"preferred name" field to the basic profile, and then configure the 
"userNameDisplay" property in config.js to use this new field. The 
"defaultUserNameDisplay" property can then remain "firstName lastName" for 
those that haven't set a display name in their profile.

Hope that helps,
Nicolaas



On 10 Sep 2012, at 20:25, Nicolaas Matthijs wrote:

> That isn't possible yet. I've added this to the JIRA ticket.
> 
> Hope that helps,
> Nicolaas
> 
> 
> 
> On 10 Sep 2012, at 20:23, Rebecca juanwang wrote:
> 
>> Hi,
>> 
>> Nicolaas, thank you for your help. 
>> "Is it possible to have two formats, one for English one for Chinese. I mean 
>> when a user chooses English as the language, his/her name is shown as 
>> [FirstName] + space + [LastName] and when Chinese is chosen as the language, 
>> her/her name is shown as [LastName] + space + [FirstName]?"
>> 
>> Thanks a for the help.
>> Rebecca
>> 
>> 
>> On Mon, Sep 10, 2012 at 4:36 AM, Nicolaas Matthijs 
>> <nicolaas.matth...@caret.cam.ac.uk> wrote:
>> Hi Rebecca,
>> 
>> There is a system-wide setting that can be set in 
>> /dev/configuration/config.js.
>> 
>> /*
>>  * set how the user's name is displayed across the entire system
>>  * - values can be compound, like 'firstName lastName' or singular like 
>> 'displayName'
>>  */
>> userNameDisplay: 'firstName lastName',
>> 
>> If you add the following line in config_custom.js:
>> 
>> config.Profile.userNameDisplay = 'lastName firstName';
>> 
>> you should at least be able to switch lastName and firstName around. 
>> Unfortunately, not having a space doesn't seem to possible right now, 
>> although it should be straightforward to add that in. It's also currently 
>> not possible to only do this for a few people, it has to be done system wide.
>> 
>> I've created a JIRA ticket [1] to address both of these issues.
>> 
>> Hope that helps,
>> Nicolaas
>> 
>> [1] https://jira.sakaiproject.org/browse/SAKIII-6199
>> 
>> 
>> 
>> On 10 Sep 2012, at 03:21, Rebecca juanwang wrote:
>> 
>>> 
>>> Hi all,
>>> 
>>> I want to know how to support localized person's name in Chinese which is 
>>> [LastName][FirstName] without space in between. The current OAE can support 
>>> Chinese names but in the English name format, i.e., 
>>> [FirstName]+space+[LastName].
>>> 
>>> Any help?
>>> 
>>> Thanks,
>>> 
>>> Rebecca.
>>> 
>>> 
>>> _______________________________________________
>>> oae-dev mailing list
>>> oae-dev@collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
>> 
>> 
> 
> _______________________________________________
> oae-dev mailing list
> oae-dev@collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/oae-dev

_______________________________________________
oae-dev mailing list
oae-dev@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to