Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-48406

Support for multi-cultural user name configuration for all user account forms and user name displays

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M6
    • Component/s: User Management
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.lee Brian Lee
              Reporter:
              juan.fernandez Juan Fernández (Inactive)
              Recent user:
              Shalaka Tendulkar
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.0.0 M6