← Back to list

kirby-i18n-workflows
by bnomei
CLI-first MCP server for composer-based Kirby CMS projects — inspect blueprints/templates/plugins, interact with a real Kirby runtime, and use a bundled Kirby knowledge base.
⭐ 20🍴 0📅 Jan 20, 2026
SKILL.md
name: kirby-i18n-workflows description: Manages Kirby multi-language workflows, translations, and localized labels. Use when dealing with languages, translation keys, placeholders, or importing/exporting translations.
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
t('key', 'fallback')in templates and snippets. - 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
rg -F 't(' siteand compare keys withsite/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
kirby://config/languagesand locate language files viakirby://roots. - Inspect templates/snippets/controllers for translation usage; use
rgto findt(calls if needed. - Search the KB with
kirby:kirby_search(examples: "translate field options", "find translation keys", "import export translations", "language variables placeholders"). - Update language files (
site/languages/*.php) or config maps for option labels. - Ensure templates render translated labels (not stored keys) and use fallbacks.
- Verify by rendering representative pages in each language (
kirby:kirby_render_page).
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


