DIY In-App Locale Editor with slang
summary
Builds an in-app editor using the open-source slang library with a merged PR that adds a getOverwrite hook so strings can be tracked and swapped at runtime; wraps pages with a TranslationScope widget and uses Provider + a cubit to load, edit, persist and broadcast changes; a string story system maps keys to widget previews so translators get visual context; edits export/import as JSON (stored to Firebase Storage), tool applies changes back into source; currently v0.0.2 with notable boilerplate.
AI-written summary · about
chapters (9)
- 0:00DIY locale editor intro
- 1:47Runtime string editing
- 3:15Migrating to slang
- 5:00Tracking strings with slang
- 6:44Editor in widget tree
- 8:53Saving translations
- 10:06Translator experience
- 13:01Submitting translations
- 14:07Challenges and limits
related talks
49mFlutter In Practice – Tips and tricks for writing Flutter apps, from Start to Finish
20mInternationalization (and not only)
40mWhite labelling apps - a year later
38mFlutter: A Path of Vines and Flowers
58mBuilding cross-platform mobile apps with Flutter.io
38mGenerative UIs: Using LLMs to Create Flutter Screens at Runtime
29mSimplify app development by building widgets in isolation
30mMonday Lightning Talks
