Wikimedia Language engineering/Roadmap 2014-15
Draft Version June 30 2014
Summary
editThis initial roadmap itemizes features and functionality that the Language Engineering team has selected as key areas of focus and development in the next fiscal year 2014-15.
The feature categories include internationalization and localization categories with cross-platform support for mobile and web.
Internationalization categories include Language Selection, UI Language Components, Input Methods, Fonts, Mapping and Geo-Location and Wikimedia i18n support.
Localization categories include UI Translation, Content Translation, Machine Translation, CX Translation tools, Language APIs and extended development tools.
This roadmap is a draft version proposed by the Language Engineering expert team and is pending prioritization for WMF’s product team.
ULS - Language selection
edit- Use Cases
- Language Selection
- Compact Links (CLS)
- Wikidata
- VE language selection use cases
- Translate language selection
- Other language selections in MediaWiki and extensions
- Removing Map from Language Selection
- Architecture updates:
- Extracting langdb and its utils to a separate jQuery Milkshake library
- Extracting algorithms for identifying common languages to a separate library (geolocation, Accept-Language, UI language, etc.)
- Update UI to meet Agora (styles and grid)
- Anonymous language selection for WMF
- Caching architecture improvements
UI language components
edit- Length sensitive containers (count characters, show X lines of text...)
- HTML substring extraction library
- User Interface
- Content-aware components (detect language the user is writing in, what it is about)
- Multilingual input support (e.g. tagging an image with a wikidata entity)
Input methods
edit- Architecture enhancement: jQuery.IME: revise the event model for easy interaction with VE and other Javascript
- Visual IMEs - Candidate selection
- On screen keyboards
- Tablet compatible (layout design and development)
- Improving IME support by preparing data for mobile vendors to integrate
- Input field integration
- Result from EventLogging for popular IME can be useful
Fonts
edit- Efficient compression - Woff2
- Font Distribution: Build or Collaborate / Reuse CDN- Use font delivery service
- Analytics - Make font usage analytics visible as a dashboard
- "'Upstream fonts'": Integrating with Mobile OS vendors
- Delivering webfonts for mobile web
Mapping and geo-location
edit- Map labels - multilingual data localization leveraging Wikidata (and possibly Translate)
- OSM language script rendering bugs and inconsistencies
- Multilingual search: as a Wikipedia editor, I want to add a map to an article, and to search for it right from the editing interface, like image searching in VisualEditor. (Not all of it is necessarily in our scope, but some of it may be.)
Improve i18n in Wikimedia universe
edit- Outreach within WMF
- Readers: Qualitative reader surveys about i18n features
- Support for WMF features teams on i18n review and problem solving
- MediaWiki.org multilingual documentation (Internal outreach across WMF engineering teams)
- Complex message parameters
- Handling locales and variants
- Review variants in mediawiki (variants for Chinese, and also Serbian, Kazakh, Uzbek, Kashmiri, Konkani)
- Review list(s) of supported UI languages in mediawiki codebase (inc. "related languages" like en-US/en-GB and zh-TW/zh-HK)
- Language vs. locale
- Matching our codes to standards like BCP-47
- Language Converter
- Existing RFC
- Better support for formal-informal variants including fallback language
- nl, hu, de, tagalog/filipino
- MediaWiki language support maintenance - (maybe 4 week window after each release) Timely update of CLDR changes to MediaWiki & document the process.
- Selectable page content language (with the language selection being stored outside of the wikitext)
- Add MW Core support to handle translated page titles: Localised page listings (especially categories: allow defining the title to display on category pages)
- Localisation update v2 (currently gsoc, but further dev. and maintenance)
- Frontend i18n
- Creating independent components (e.g. moment.js for human readable time)
- Collaborate with other libraries (maintain cldr.js)
Translate features
edit- Notifications
- For example, new thing to translate
- Hey X, your translation is now live at X
- Should be implemented using echo
- TUXification of stats (modernization of the current stat views)
- Planning improvements for page translation:
- Page translation with VE (Visual translation: Integration of page translation with Visual Editor)
- Evaluate CX results when applied to page translation scenarios (e.g., A/B test with users using Translate & CX)
- Allow to deal with Translate-related annotations from VE (represent them, add them).
- GSoC (translation improvements - ongoing project)
- Minor and consequential changes to support language fallback/variants features: see "Handling locales and variants" above
- Allow attaching UI designs (SVG with message codes) to show a schematic version of how the UI will look with translated messages (e.g., showing a Mockup for search including buttons such as "search" and "I'm feeling lucky" will help to translate them providing more context)
- Multilingual Commons: Support translating images, video (subtitles) and other media
- Subtitles
- Deployment of TranslateSVG
- Translation hub
- Feed of exports from translatewiki.net
- For example a twitter account
Content Translation features
edit- Usable Moses test instance with HTTP API
- Better plan for rich text handling (styles, links, references etc)
- Wider use of LinearDoc for programmatic HTML string manipulation
- Design for parallel translation update merging
- Design for reference/citation template translation
- Analytics - understanding better how much translation is happening
- Content translation infrastructure development, maintenance & monitoring
Translation tools (more related to CX)
edit- Integrate glossaries and dictionaries to Translate Extension (and VE?) (once they are available for CX)
- Glossary building tools
- Tool to create a draft glossary from existing parallel translations
- Glossary service
- Develop for CX, in a way that Translate can use it as well
- MT API
- Translation memory improvement
- Rich text awareness: WMF-internal TM needed?
- Alignment: (sentence and sub-sentence)
- Morphological analysis
- "Error-prone lemmatizers" for languages where nothing exists (sufficient for aligners, dictionary/glossary matching etc)
Language service APIs to meet Translate, CX needs
edit(service=public http interface or equivalent)
- Glossary service
- Dictionary service
- Spellchecker/proofreading service
- MT service
- TM Service
Development Support Tools
edit- Language Coverage Matrix Dashboard (LCMD)
- Documentation and code review - get it into maintainable mode
- Features - analytics views esp for ULS IMEs, Webfonts, CX etc.
- Testing Dashboard (possible integration w LCMD)
- A unified dashboard to capture all available tests, their frequency, condition, changes and results would help analyse test coverage and their effectiveness for each component
- A webhook to pull in data for updating the data to display on the dashboard
- Possible hook into cross browser testing dashboard by hashar (Not exactly crossbrowser, https://integration.wikimedia.org/ci/view/BrowserTestsDashboard/)
- Understanding usecases for TCMS and manual testing and potential integration of views (get more feedback from VE)
- Performance tracking
- For example views on timings of our API modules
- For example how long translation memory queries take
- Evaluate dev-ops tools for language features
- Evaluate Chrome dev tools for language features