Localization: Implementation and Testing... Locally
summary
Concrete implementation focus: how to stop hard‑coded strings, use ICU message format for pluralization and dates, and replace react‑only libraries with react‑intl‑universal so vanilla JS works. Covers dynamic locale loading from URL/cookie, CDN locale data, JSON loader for on‑demand files, and CLI pseudo localization generation plus automated tests that assert keys not literal text. Includes real failure examples (KFC translation, offensive image) and practical rules like never concatenate strings and minimize variables.
AI-written summary · about
chapters (8)
- 0:00Intro
- 2:48LOCALIZATION VS INTERNATIONALIZATION
- 4:46WHY IS LOCALIZATION IMPORTANT?
- 8:06LOCALIZING REACT & VANILLA JS APP
- 11:41USING REACT-INTE-UNIVERSAL
- 13:23USING REACT-INTL-UNIVERSAL
- 16:44IMPLEMENTATION
- 21:06TESTING LOCALIZATION
related talks
25mInternationalisation is a Piece of Cake
26mThe State of the Art in Localization
22mInternationalizing React
12mThere's always a better way to handle localization
34mWhat is the deal with internationalisation?
31mThink Globally, Act Locally on the Web
39mThink globally, act locally with i18n on the web
38mSacré bleu! The trials and tribulaciones of internationalising your ẨṔṔŁîÇåŤḯṏÑ���
