~/lightning

Vue + i18n = FUN

Lightningat VueConf US 2019 · on Wednesday, 2019-03-27· [web-platform, vue]
slides:none on file

Shows concrete steps: run npm install vue-i18n, register it in main.js, provide a master English JSON and per-language JSON files, detect browser locale or default to English, and wire components with the $t('path.to.key') lookup. Demonstrates variable interpolation inside translation strings, using v-html for embedded markup, and built‑in date/currency formatting. Mentions using Transifex for contextual translations and points out pitfalls like hard‑coded string comparisons.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52Why Make the Effort to Translate?
  3. 2:00Getting Started
  4. 3:00The code
~/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.