processwire-multi-languagelisted
Install: claude install-skill webmanufaktur/pwaiworkflow
## What I Do
I provide comprehensive guidance for ProcessWire multi-language support:
- Multi-language fields (text, textarea, title)
- Language-alternate fields
- Multi-language URLs and page names
- Code internationalization (i18n)
- Translation functions (`__()`, `_n()`, `_x()`)
- Language switching
- Language packs for admin
## When to Use Me
Use this skill when:
- Building multi-language websites
- Setting up multi-language fields
- Creating language switchers
- Translating template code strings
- Working with language-specific URLs
- Accessing field values in specific languages
---
## Getting Started
### Required Modules
Install from Modules > Language:
| Module | Purpose |
| -------------------------- | --------------------- |
| `LanguageSupport` | Base language support |
| `LanguageSupportFields` | Multi-language fields |
| `LanguageSupportPageNames` | Multi-language URLs |
### Adding Languages
1. Go to Setup > Languages
2. Click "Add New"
3. Enter language name (e.g., "spanish", "german")
4. Save
---
## Multi-Language Fields
### Available Field Types
| Field Type | Description |
| ------------------- | ------------------------- |
| `TextLanguage` | Single line text |
| `TextareaLanguage` | Multi-line text/rich text |
| `PageTitleLanguage` | Page titles |
### Converting Existing Fields
1. Go to Setup > Fields > [your field]
2. Change Type to multi-lang