Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Other lang issues.

Development:Other lang issues

From MoodleDocs
Revision as of 13:24, 9 January 2006 by Helen (talk | contribs) (developer wiki transfer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Other language support issues (non-UTF-8 related)

Problem
Paging for languages (e.g in list of users, page by first name or last name), is nearly impossible for foreign languages such as Japanese.
Proposal
To support the paging of foreign languages, we propose to use additional field(s) in the database. For example, a user can have a first name initial and a last name initial, and every glossary will have an initial depending on the name of the glossary entry. A function, in lang/xx.php will be needed to do this paging. When a new entry is created, e.g. a new user is added, the additional fields, such as first name initial and last name initial is precalculated prior to inserting the entry into the database. Apparently a mapping is required to do the paging calculation, for every language.

Idea/patch from chinese forum (Chinese language only):