~/talk

London Calling: Creating a customisable, multi-tenanted i18n solution

Talkat PHP UK Conference 2018 · 2018-02-14..02-16· [php, web-platform, web-performance]
slides:none on file

Buycraft serves ~500,000 Minecraft webstores and has handled 16 million payments across 255 countries so a bespoke i18n layer is built: JSON locale files per store with inheritance, DB loading merged into cached arrays to avoid repeated queries, readable placeholders, full plural rules borrowed from Drupal plural parser, and a custom CloudFlare Lua cache key so cached pages respect language cookies. Merchants add translations and payment integrations directly and 300 stores day one adopt custom strings, proving it works.

AI-written summary · about

  1. 0:00Start
  2. 8:22Restricted Language Set
  3. 9:18Only Supports Default Strings
  4. 10:11High Maintenance Cost
  5. 22:01Requirements
  6. 23:09Plural Rules
  7. 26:06Drucal to the rescue
  8. 27:38Default Translation
  9. 35:29Merge and Cache
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.