BotNetwork

Organizing i18n keys for bots

namespace keys by feature; avoid concatenating translated fragments

Guide1 min readUpdated

Why it matters

Namespace keys by feature; avoid concatenating translated fragments.

Practical steps

  1. Write the user-visible copy for ux i18n keys before implementing handlers.
  2. Implement namespace keys by feature; avoid concatenating translated fragments with progressive disclosure (short default, details on demand).
  3. Keep help and error text scannable on a phone screen.
  4. Review ux i18n keys with a teammate who was not the author.
  5. Ship a /help or settings path that explains ux i18n keys without jargon.

Watch out for

  • Copy-pasting outdated snippets for ux i18n keys without re-reading current official docs.
  • Shipping ux i18n keys to production without a staging rehearsal and a documented rollback.

Related comparisons and tools