Page MenuHomePhabricator

Figure out how to best test Codex in different language environments
Closed, ResolvedPublic

Description

Question: How should Codex components be tested across different language environments? We need to ensure that components work properly under the following conditions:

  • Default text for labels, etc. in other languages may appear significantly longer or shorter than it does in English. Components must accommodate this.
  • Components must function properly when used with non-Latin scripts, including numerals
  • Components must function properly when used in RTL languages

Answer: We should rely on MediaWiki's existing internationalization tools (rather than say building these into the Codex demo). We can use the VueTest extension to achieve this, though it will need some updates; in particular it will need to have i18n messages defined and submitted to TranslateWiki (just like other in-production extensions).

This work is captured in T287044: Determine how to perform QA testing of Codex components inside a MediaWiki environment.