~/talk

Getting ready for I18n, Shopify's case study

Talkat Balkan Ruby 2019 · 2019-05-17..05-18· [ruby]
slides:none on file

Shopify localizes its admin by detecting hard‑coded user strings with RuboCop custom cops (about a hundred rules) plus erb lint and Nokogiri for HTML text nodes, autoextracting strings into YAML keys via RuboCop autocorrect, blocking PRs with violations. The stack stays on Rails I18n (not gettext) despite >3,000 translation files and >5s boot cost; a pseudo‑localization gem checks layout and a team migrates MySQL to utf8mb4 migration; a central address‑format service and npm client produce locale‑correct addresses.

AI-written summary · about

  1. 0:00Start
  2. 6:01Static code analysis
  3. 14:47RuboCop autocorrection
  4. 21:11Pseudolocalization
  5. 23:24MySQL character set
  6. 24:32Unicode Basic Multilingual Plane
  7. 24:46Utf8mb4
  8. 25:52Expose your app to UTF8 characters
  9. 26:07Translation vs Localization
~/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.