Submissions/MediaWiki i18n getting data-driven and world-reusable
This is an accepted submission for Wikimania 2013.
- Submission no.
- Subject no.
- Title of the submission
MediaWiki i18n getting data-driven and world-reusable
- Type of submission
- Author of the submission
Santhosh Thottingal and Niklas Laxström
- Country of origin
India and Finland
- E-mail address
sthottingalwikimedia.org and nlaxstromwikimedia.org
- Personal homepage or blog
- Detailed proposal
MediaWiki internationalization (i18n) is improving every year. Lately we have taken a new approach and started preferring the data-driven approach. Great example of this is the decision to change plural implementation from custom code to use data from the Unicode Commons Locale Data Repository (CLDR). Migrating to CLDR data has not been without problems. Attention has been paid to performance as well trying to solve the mismatch between existing plural code and CLDR. The CLDR extensions now provides more useful data like language names, country names and currency names and more is coming, like number formatting and time expressions. There are issues how the CLDR gathers it's data, but the benefits in maintainability of our code offsets that. Maintaining multiple i18n frameworks, one in PHP, one in JS, one as jquery.i18n is lot of duplicated effort which CLDR helps to reduce.
The flexibility of plural rules has been increased by allowing explicit forms for plain numbers. This is of great help to languages, that only rarely need more forms, as it allows us to reduce the number of the forms needed to supply for the common case. Even English language can benefit from it.
Technology and Infrastructure
- Length of presentation/talk
- 25 Minutes
- Language of presentation/talk
- Will you attend Wikimania if your submission is not accepted?
- Slides or further information (optional)
- Special requests
If you are interested in attending this session, please sign with your username below. This will help reviewers to decide which sessions are of high interest. Sign with four tildes. (~~~~).
- — Danny B.
- Siebrand (talk) 10:59, 18 February 2013 (UTC)
- Pginer (talk) 12:39, 11 March 2013 (UTC)
- Kavya Manohar (talk) 07:12, 24 March 2013 (UTC)
- Slashme (talk) 17:57, 7 April 2013 (UTC)
- អមីរ ឯ. អហរោណិ 06:52, 12 April 2013 (UTC)
- Arky (talk) 04:20, 2 May 2013 (UTC)
- Runa Bhattacharjee (talk) 05:22, 6 May 2013 (UTC)
- Psubhashish (talk) 03:50, 7 August 2013 (UTC)