Claude-skill-registry kirby-i18n-workflows
Manages Kirby multi-language workflows, translations, and localized labels. Use when dealing with languages, translation keys, placeholders, or importing/exporting translations.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/kirby-i18n-workflows" ~/.claude/skills/majiayu000-claude-skill-registry-kirby-i18n-workflows && rm -rf "$T"
manifest:
skills/data/kirby-i18n-workflows/SKILL.mdsource content
Kirby i18n Workflows
KB entry points
kirby://kb/scenarios/46-i18n-field-options-and-labelskirby://kb/scenarios/47-i18n-find-translation-keyskirby://kb/scenarios/48-i18n-import-export-translationskirby://kb/scenarios/72-filter-by-languagekirby://kb/scenarios/73-language-variables-and-placeholders
Required inputs
- Enabled languages and default language.
- Where translation keys live and desired naming scheme.
- Which content is translated vs label-only.
Default translation rule
- Use
in templates and snippets.t('key', 'fallback') - Keep stored content language-neutral when possible; translate labels at render time.
- Maintain fallback strings in the default language file.
Import/export hint
return [ 'site.title' => 'Example', ];
Missing key audit
- Run
and compare keys withrg -F 't(' site
.site/languages/*.php - Add missing keys to the default language file first.
Common pitfalls
- Storing translated labels in content instead of language files.
- Using translation keys without fallback strings.
Workflow
- Confirm language setup with
and locate language files viakirby://config/languages
.kirby://roots - Inspect templates/snippets/controllers for translation usage; use
to findrg
calls if needed.t( - Search the KB with
(examples: "translate field options", "find translation keys", "import export translations", "language variables placeholders").kirby:kirby_search - Update language files (
) or config maps for option labels.site/languages/*.php - Ensure templates render translated labels (not stored keys) and use fallbacks.
- Verify by rendering representative pages in each language (
).kirby:kirby_render_page