LEVEL 2 · BUILDER

UI String Localization Workbench

Help a small product team localize JSON message catalogs while retaining stable keys, variable placeholders and contextual notes. Compare recorded or real provider proposals in a UI preview, require review of ambiguous strings, and export an approved locale catalog and unresolved-string queue.

4 stages~8 hoursTypeScriptcore
YOU END UP WITH

Reviewed locale JSON, an interactive message preview and unresolved-strings.json

WHY THESE LANGUAGES
  • TypeScript Typed local transformations and portable browser interfaces run with Node standard libraries.
PROJECT OUTLINE

UI String Localization Workbench in 4 stages

Review translated interface text without breaking its placeholders.

  1. Read message keys, placeholders and context

    placeholders(text:string):string[]; readCatalog(value:unknown):Message[]

    starter · ~2 hours · TypeScript

    Read message keys, placeholders and context
  2. Generate bounded translation proposals

    proposeTranslations(messages:Message[],recorded:unknown,locale:string):Proposal[]

    core · ~2 hours · TypeScript

    Generate bounded translation proposals
  3. Preview strings with supplied interpolation values

    previewMessage(template:string,values:Record<string,string|number>):string

    core · ~2 hours · TypeScript

    Preview strings with supplied interpolation values
  4. Export approved locale and unresolved questions

    reviewTranslations(messages,proposals,value?):{catalog,unresolved,review}; renderWorkbench(messages,proposals,state,locale,values?):string

    stretch · ~2 hours · TypeScript

    Export approved locale and unresolved questions

Build these projects first

All projects · Course catalog · Source on GitHub