Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Other lang issues

From MoodleDocs
Revision as of 08:20, 23 February 2007 by Helen Foster (talk | contribs) (Other lang issues moved to Development:Other lang issues)

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):