# Language Files Directory

This directory contains translation files for the Instant Knowledge Base plugin.

## Translation Files

The plugin currently includes the following language files:

### Available Languages
- **English (US)** - Default language (`instant-knowledgebase.pot`)
- **French (France)** - Complete translation (`instant-knowledgebase-fr_FR.po` and `instant-knowledgebase-fr_FR.mo`)
- **Spanish (Spain)** - Complete translation (`instant-knowledgebase-es_ES.po` and `instant-knowledgebase-es_ES.mo`)

## File Structure

- `instant-knowledgebase.pot` - Translation template file
- `instant-knowledgebase-fr_FR.po` - French (France) translation source file
- `instant-knowledgebase-fr_FR.mo` - Compiled French translation file
- `instant-knowledgebase-es_ES.po` - Spanish (Spain) translation source file
- `instant-knowledgebase-es_ES.mo` - Compiled Spanish translation file
- `instant-knowledgebase-[locale].po` - Translation files for other locales
- `instant-knowledgebase-[locale].mo` - Compiled translation files for other locales

## Spanish Translation Details

The Spanish translation includes:
- ✅ Plugin description and metadata
- ✅ Admin interface strings
- ✅ Settings page translations
- ✅ License management interface
- ✅ Search functionality messages
- ✅ Help center template strings
- ✅ Error messages and notifications
- ✅ Premium feature descriptions

### Spanish Translation Coverage
- **Admin Settings**: Complete translation of all admin interface elements
- **Templates**: Help Center Modern template fully translated
- **License Management**: All license-related strings translated
- **Search Interface**: Search functionality and messages translated
- **Premium Features**: Upgrade prompts and premium feature descriptions

## French Translation Details
- ✅ Plugin description and metadata
- ✅ Admin interface strings
- ✅ Settings page translations
- ✅ License management interface
- ✅ Search functionality messages
- ✅ Help center template strings
- ✅ Error messages and notifications
- ✅ Premium feature descriptions

### French Translation Coverage
- **Admin Settings**: Complete translation of all admin interface elements
- **Templates**: Help Center Modern template fully translated
- **License Management**: All license-related strings translated
- **Search Interface**: Search functionality and messages translated
- **Premium Features**: Upgrade prompts and premium feature descriptions

## Contributing Translations

If you would like to contribute translations for other languages, please:

1. Copy `instant-knowledgebase.pot` to create a new `.po` file for your language
2. Translate all strings in the file
3. Compile it to a `.mo` file using `msgfmt`
4. Submit a pull request

## Compiling Translation Files

To compile a `.po` file to a `.mo` file:

```bash
msgfmt instant-knowledgebase-fr_FR.po -o instant-knowledgebase-fr_FR.mo
```

## Supported Locales

The plugin supports WordPress's standard locale format:
- `en_US` - English (United States) - Default
- `fr_FR` - French (France) - Complete translation available
- `es_ES` - Spanish (Spain) - Complete translation available
- Additional locales can be added following the same pattern

## Usage

To use the translations:
1. Ensure WordPress is set to the desired locale (`fr_FR` for French, `es_ES` for Spanish)
2. The plugin will automatically load the appropriate translation files
3. All interface elements will display in the selected language

---

*This directory ensures WordPress plugin validation compliance and provides a foundation for internationalization.*
