Internationalization Engineer
Ship one product to every locale: Unicode collation, timezone-safe timestamps, plural rules, slug safety, and the collation and encoding bugs that break markets.
Path overview
国际化的失败很少在翻译层,而在排序、时间与编码的地基。本路径从 Unicode 排序与时区讲起,比较三大日期库的本地化能力,再实操复数规则、相对时间与时区安全转换,收尾于 Windows 编码与 MySQL 排序规则两类经典故障。
Internationalization fails at the foundation — collation, time, encoding — not at translation. This path covers Unicode collation, timezone-safe timestamps, plural rules, and classic encoding bugs.
Reconstruct the reasoning behind "How to Handle Timezones in Databases" by tracing "Two types, two meanings" to the failure it prevents in i18n systems.
Next step: Date-fns
⏱ 1h
Wire "Date-fns" into a scratch i18n project, following "format format(date: Date | number, format: string, options?: FormatOptions): string", and record one working request/response pair.
Prerequisites: How to Handle Timezones in Databases
Next step: Day.js
⏱ 1h
Wire "Day.js" into a scratch i18n project, invoke dayjs() dayjs(date?, format?, strict?): Dayjs, and record the error path.
Prerequisites: Date-fns
Next step: Luxon
⏱ 1h
Exercise DateTime.now() DateTime.now(): DateTime and DateTime.fromISO DateTime.fromISO(text, opts?): DateTime from "Luxon", documenting request, response, and failure.
Prerequisites: Day.js
Next step: Pluralize Counts With Intl.PluralRules
⏱ 1h
Run the i18n snippet "Pluralize Counts With Intl.PluralRules", capture stdout, and show which line demonstrates the documented behavior: "Choose singular or plural forms by CLDR plural category, including custom two and few forms".
Prerequisites: Luxon
Next step: Relative Time Labels With Intl
⏱ 0.75h
Adapt "Relative Time Labels With Intl" to a second input and compare the new output with the behavior described in "the DIVISIONS entry point".
Prerequisites: Pluralize Counts With Intl.PluralRules
Next step: Dayjs Timezone-Safe Date Conversion
⏱ 0.75h
Execute "Dayjs Timezone-Safe Date Conversion", change one constant, and describe how the output diverges from "Convert timestamps between timezones with Dayjs and its UTC plugin, keeping wall-clock".
Prerequisites: Relative Time Labels With Intl
Next step: Turn Unicode Titles into URL Slugs
⏱ 0.75h
Run the i18n snippet "Turn Unicode Titles into URL Slugs", capture stdout, and show which line demonstrates the documented behavior: "Turn Unicode headings into stable ASCII URL slugs with transliteration, separator".
Prerequisites: Dayjs Timezone-Safe Date Conversion
Next step: Select the Right Plural Form
⏱ 0.75h
Build "Select the Right Plural Form" for i18n code and verify 1 file against both samples.
Next step: Capstone: Internationalization Engineer
⏱ 0.33h
Ship "Support if and else blocks with truthiness evaluation." from "Build a Text Template Rendering Library", then prove it with the project's test suite and an acceptance note.
Prerequisites: Select the Right Plural Form
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h