Skip to main content

grav-translations

Use when working with translation strings in a Grav 2.0 plugin — editing `languages/<lang>.yaml` or `languages.yaml`, adding blueprint fields with `label:` / `help:` / `title:` / `text:` / `description:` props, debugging missing or humanized labels in admin2 (e.g. a label rendering as "Xss Security" instead of "XSS Security for Content"), porting a Grav 1.7 plugin's lang file to support admin2, or auditing a plugin/core for translation gaps. Covers the ICU-vs-flat lookup chain on both admin2's client and the api plugin's server, the canonical key namespaces (`PLUGIN_ADMIN.*` shared vocabulary vs `PLUGIN_<MYPLUGIN>.*` plugin-private), the dual-target (Grav 1.7 + 2.0) lang yaml shape, HTML rendering in help text, the disabled-plugin filter that keeps stale strings out of admin2, and the `i18n-blueprint-audit.mjs` script. Trigger when the user mentions translation, i18n, ICU, lang yaml, `PLUGIN_ADMIN`, or asks why a blueprint label renders wrong.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
getgrav/grav-skills
آخر نشاط في المصدر
٢ يوليو ٢٠٢٦ في ٢٠:٤٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.