SquizzyOpen Squizzy

Interface languages

The player's own words (buttons, hints, messages and the results page) can be in any language. Your questions are in whatever language you write them in.

What gets translated

An interface language covers the words Squizzy writes, not the words you write:

Translated by the language file Written by you
Buttons such as Start quiz, Check, Next and Submit Quiz title and introduction
Hints such as "Select all that apply" Section titles and introductions
Messages such as "Time is up" and "2 tries left" Questions, choices and answers
The results page: score, pass or fail, review Feedback, and the pass and fail messages
Screen reader descriptions, and the maths answer editor Image descriptions (alt text)

Choosing a quiz's language

Open a quiz, choose Settings, and pick the language under Interface language > Buttons, hints and messages in. English is built in; other languages appear once they are in your library (see Adding a language).

The learner's browser language

The player does not switch to the language of the learner's browser or device. Every learner sees the interface language the quiz was exported with, whatever their browser is set to.

To offer the same quiz in several languages, Clone it once for each language, translate the questions in the copy, choose the matching interface language, and publish each copy where those learners will find it.

Quizzes built in the Mighty block's own form use English. To use another language there, build the quiz in Squizzy and upload its .squiz.zip to the block.

Adding a language

Use Languages in the top bar, or Manage languages beside the language setting.

  1. Choose Download English template. It is a small text file listing every phrase.
  2. At the top, set the language code and name, for example fr and Francais.
  3. Translate the text on the right of each line. Keep anything in {braces}, such as {n}, exactly as it is: the player fills in a number or name there.
  4. Choose Import language file and pick your file.

The list then shows the language and how many phrases are still in English. Untranslated phrases fall back to English, so a partly translated file still works.

The Spanish example

Squizzy comes with a complete Spanish translation (es). In the Languages dialog, under Examples:

Language codes

A code is two or three letters, optionally followed by a region or script: fr, de, es-MX, pt-BR, zh-Hant. Use the standard code for the language, because it is also the code screen readers use. en is reserved for the built-in English.

Updating a translation

New versions of Squizzy sometimes add phrases. They show in English until translated, and the Languages list counts them ("3 strings still in English"). To catch up: Export the language, translate the new lines (they are in English), and import the file again.

Language files outside Squizzy

A language file is also a small script. A page that runs the Squizzy player itself can include it before quiz-player.js, and a quiz whose language code matches will use it. Quizzes exported from Squizzy do not need this, because their words are built in.