New theme - TOC, drop down menu, dark mode etc

now with internationalisation support!

In what I assumed (wrongly) would be a simple job, I automated the creation of my locale files based on translations already made available in a handful of open source themes + the official Ghost i18n locale files.

With a bit of judicious adjustments to my original English text strings I was able to get:

  • full coverage: vi, tr, ru, pt-BR, pl, nl, it, hr, fr, es, de
  • very nearly complete: uk, ko, id, sv, pt,
  • +40 or so partial translations

I did attempt to prioritize the allocation of translations where there were competing strings (for instance, I preferred the Ghost versions where available) but sadly I am an ignorant monoglot English person and am unable to check the results for quality.

My main take-way from doing this is ‘there must be an easier way to do this!’…

Translations are here, for those that are interested