cmd-phoenix-convert-gettext

Installation
SKILL.md

In the Phoenix app at {{ web_dir }}, refactor all hardcoded text strings to use gettext with domain-based translation logic. Specifically:

Tasks

  1. Convert hardcoded strings in templates, views, and controllers to use gettext functions

  2. Organize translations by domain/context:

    • user - user account, profile, authentication related text
    • admin - admin panel, management, settings text
    • errors - error messages, validations, warnings
    • navigation - menus, links, breadcrumbs, page titles
    • common - shared/general purpose text, buttons, actions
  3. Use appropriate gettext functions:

    • Use dgettext/2 for domain-specific translations
    • Use dgettext/3 when interpolation is needed
    • Use dngettext/4 for pluralization
Installs
23
First Seen
Apr 27, 2026
cmd-phoenix-convert-gettext — gsmlg-dev/code-agent