Skip to content

PicoDex v0.8.1

Latest

Choose a tag to compare

@rasalopa rasalopa released this 26 Aug 16:44

The door is open.

v0.8.0 made PicoDex speak Spanish. This one makes it possible for anyone to add their own language, and to add it a piece at a time.

  • A translation does not have to be finished to ship. Every key in a language file is optional, and anything left out reads in English. Thirty strings translated is a real contribution, not a draft — the next pull request can carry thirty more. A language that had to be complete before it shipped would have blocked every release after it, which is exactly backwards for a project that wants translations.
  • One registry decides which languages exist. The footer switch, the date formats, the language the page reports to a screen reader, and the browser detection on a first visit all read from it. Six places used to name English and Spanish one by one; now adding a language is its own file plus two lines.
  • CONTRIBUTING.md has the six steps, with the exact code for both edits. No DSpico and no SD card needed — a browser is enough. Open an issue before you start so two people do not translate the same language twice.

Nothing changes for a reader today: English and Spanish are both complete, so the app behaves exactly as v0.8.0 did. What changed is that your language can be next.