Support for multi-cultural user name configuration for all user account forms and user name displays
Description
100% Done
Activity
Show:
Brian Lee August 3, 2016 at 11:31 AM
PASSED Manual Testing following the steps in the description.
Passed on:
Tomcat 8.0.30 + MySQL 5.6.26
Portal Master Git Hash: a43c214df96e5e21d6a95b6a6a6422c09d27bcc9
Juan Fernández June 10, 2015 at 6:59 AM
Hi Drew:
sorry, but I didn't know this was ready for PM review (it was assigned to Ed, not me). I have tested this on today's master and it's not working as expected.
Could you please check what's going on?
Thanks a lot,
Juan
Drew Brokke March 17, 2015 at 10:51 AM
Language configurations have been updated.
Juan Fernández March 9, 2015 at 2:11 AM
Hi there:
language.properties are not configured as described in the ticket description. At least Spanish, italian, german and portuguese are wrong. Please review, as this is required for me to be able to test with our translators.
Thanks,
Juan
Drew Brokke February 25, 2015 at 5:03 PM
All of our commits have been pushed to master.
Completed
Pinned fields
Click on the next to a field label to start pinning.
Assignee
Brian Lee
Brian Lee(Deactivated)Reporter
Juan Fernández
Juan Fernández(Deactivated)Components
Fix versions
Affects versions
Priority
Created July 10, 2014 at 4:33 AM
Updated June 26, 2023 at 6:31 AM
Resolved August 3, 2016 at 11:31 AM
There are many different ways to name persons on each different culture in the world. Liferay aspires to become a fully multi-cultural platform, so one of the things we need to support is multi-cultural personal user names support.
Here's a reference guide from the W3C organization that can be used as a starting point for this research - http://www.w3.org/International/questions/qa-personal-names.en.php?changelang=en
After an analysis in the subject, names should be built using the following "rules":
1) The high level view of a name is - Title (optional) + name + Suffix (optional)
2) Name is any possible permutation of - Given Name, Middle Name (optional) and Family Name - this can appear in any possible order.
3) While there can be family names ranging from 1 to 4 names depending on the culture/country we've decided to always show them as a single input field. This means that the values of user.name.fields cannot be repeater.
As this configuration is highly dependent to the country, language or culture, it should be completely configurable and the UI should dynamically change based on that configuration. Maybe using language.properties file?
Possible configuration options could be (forget about the property name, it's just a proposal):
user.name.fields=prefix,first-name,middle-name,last-name,suffix
user.name.prefix.options=Dr,Mr,Ms,Mrs
user.name.suffix.options=II,III,IV,Jr,Phd,Sr
This configuration must be honored wherever a user name is displayed.
It must also be honored in all forms that ask for personal user name details such as:
Edit Account in User Management
My Account
Create User in Login portlet
Sample configurations for several languages
English
user.name.fields=prefix,first-name,middle-name,last-name,suffix
user.name.prefix.options=Dr,Mr,Ms,Mrs
user.name.suffix.options=II,III,IV,Jr,Phd,Sr
Spanish
user.name.fields=prefix,first-name,last-name,last-name
user.name.prefix.options=Sr,Sra,Sta,Dr,Dra
user.name.suffix.options=
Chinese
user.name.fields=last-name, first-name
user.name.prefix.options=
user.name.suffix.options=
Japanese
user.name.fields=last-name,first-name
user.name.prefix.options=
user.name.suffix.options=
Portuguese
user.name.fields=prefix,first-name,middle-name,last-name
user.name.prefix.options=Sr,Sra,Sta,Dr,Dra
user.name.suffix.options=
Hungarian
user.name.fields=prefix,last-name,first-name,middle-name
user.name.prefix.options=Dr.,Prof.,Úr,Asszony,Kisasszony,ifj.,id.,özv.
user.name.suffix.options=
German
user.name.fields=prefix,first-name,middle-name,last-name
user.name.prefix.options=Fr.,Hr.,Dr.,Prof.,Prof. Dr.
user.name.suffix.options=
Italian
user.name.fields=prefix,first-name,middle-name,last-name
user.name.prefix.options=Dott.,Dr.,Sig.,Sig.ra,Sig.na
user.name.suffix.options=
Catalan
user.name.fields= prefix,first-name,last-name,last-name
user.name.title.options=Sr.,Sra.,Dr.,Dra.
user.name.suffix.options=
Dutch
user.name.fields= prefix,first-name,middle-name,last-name
user.name.title.options=dhr., mevr., dr., drs., mr.
user.name.suffix.options=jr., sr.,
French
user.name.fields= prefix,first-name,middle-name,last-name
user.name.title.options=Mr,Mme
user.name.suffix.options=
Hebrew = English
Steps to test this user story:
Sign in the portal
Go to "My Account"
Change the user language
Expected behavior: the name form should change acording to cultural preferences defined before.