-
Improvement
-
Resolution: Fixed
-
Critical
-
2.3, 2.5.1
-
Any
-
MOODLE_23_STABLE, MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
wip-
MDL-31776-master -
-
100
-
BACKEND Sprint 2
Alternate name fields
This is a proposal on behalf of The Moodle Association of Japan (http://moodlejapan.org). We are willing to work closely with Moodle HQ on this improvement and help by providing some funding for its development.
The standard Moodle has only two fields for names "firstname" and "lastname". In countries that use a different writing system, this means that two sets of names need to be displayed, their name in the local writing system and their name in Romanization. Moodle needs a way to input both types of names, and for both the individual and the administrator (and perhaps at the course level) to determine which names appear in the various Moodle contexts.
An ideal configuration
I propose three additional fields: surnamephon givenphon alternatename
For standard English and European usage, these would be ignored, but for Japanese, Chinese, Korean and perhaps other writing systems such as Thai, the various Indian languages and Arabic. Possible entries would look like this:
lastname | firstname | lastphon | firstphon | Alternate | |
---|---|---|---|---|---|
Japanese | 佐藤 | 宏 | サトウ | ヒロシ | Satou Hiroshi |
Korean | 李 | 奎報 | 이 | 규보 | Yi Gyubo |
Chinese | 陳 | 美和 | ㄔㄣ | ㄇㄟㄏㄨㄚ | Chen MeiHua |
The site administrator would select how the $FULLNAME variable would appear. For Japanese, for example, the administrator might select lastname + firstname + alternate so that the students' names would appear in Kanji, but with the Romanization of it following the Kanji. This would allow everyone to know how the name should be pronounced. (Even Japanese need this since there are alternate pronunciations for Kanji. "神部" for example, could be read as "Kamibe" or "Kambe" depending on the preference of the user's family.)
Any combination of the above could also be selected as the default for user names that appear in various tables.
If the selected fields for tables is one of the Asian phonetic fields, then rather than the standard alphabet display for filtering the list by first name and last name, a similar selection display would appear for the selected alphabetic system.
For Chinese, a selection would also need to be made for the phonetic system to use. Taiwan uses the "BoPoMoFo" (Zhuyin) system, while mainland China uses the Pinyin system.
Student ID Display
For many Asian languages, another problem not encountered so much in the West is people with identical names. This, plus the fact that some of the languages (namely Japanese and Chinese) have no convenient method for ordering names in Chinese characters, means that most schools rely on the student ID for ordering and identifying students rather than (or in addition to) their names. Thus, there should also be an option in the site set-up selecting the StudentID field to be displayed to the left of names on various listings such as the grade book, assignment evaluation, etc.
Complexity & coding time:
This problem is quite complex since it involves modifying core code in perhaps 50-100 files that do database I/O, table displays, preference selections, etc. and would need to be done in close coordination with Moodle Headquarters.
Who would benefit from this improvement?:
Probably every institution in Asia that has staff who do not read the local language need to be able to display names in both the local language and Roman letters. Various, rather unsatisfactory ad hoc solutions are currently used but a permanent, more elegant solution is urgently needed.
- caused a regression
-
MDL-40650 PHP fatal syntax error in workshop cron
- Closed
-
MDL-42219 Alternate name fields notice when submitting quiz attempt
- Closed
-
MDL-42220 Alternate name fields notices when manual grading quiz attempts
- Closed
-
MDL-40667 New "Alternate name fields" functionality breaks localisation of display formats
- Closed
-
MDL-43058 report_security_check_riskxss reports additional name fields in the user object.
- Closed
-
MDL-43765 Additional name fields notice when viewing Course participation report
- Closed
- Discovered while testing
-
MDL-40616 Re-evaluate how names are displayed in moodle.
- Closed
- has a non-specific relationship to
-
MDL-28451 Convert some of the "standard" user profile fields into custom user profile fields.
- Closed
-
MDL-40962 Alternate name warnings in Recent Activity block
- Closed
-
MDL-41307 Tags needs updating for changes to fullname function.
- Closed
-
MDL-40612 Code tidy up and improvement for alternate name fields.
- Closed
-
MDL-38606 create a cache for retrieving user's names in the fullname function.
- Closed
-
MDL-40356 Add an additional setting for a configurable private fullname display
- Closed
-
MDL-42765 Alternate name field not used when viewing enrolled users in a course
- Closed
- has been marked as being related by
-
MDL-40929 Sporadic failures of moodlelib_testcase::test_fullname
- Closed
-
MDL-46003 Ensure that when names are being displayed they are using the fullname function.
- Closed
-
MDL-16445 new Fullname display criteria (first name + two letters of lastname)
- Closed
-
MDL-46653 Get rid of fullname override parameter
- Closed
- will be (partly) resolved by
-
MDL-26647 Ability to consistently display idnumber, other fields in user lists
- Closed
- will help resolve
-
MDL-40175 Send email to new users with generated password - newusernewpasswordtext
- Closed
-
MDL-22275 Anonymous users
- Closed