# Languages Folder

This folder is for translation files (.po and .mo files).

## How Translation Works:

1. **POT File Generation** - Generate a `.pot` template file from the plugin code
2. **Translation** - Translators create `.po` files for each language
3. **Compilation** - `.po` files are compiled into `.mo` files
4. **Loading** - WordPress loads the appropriate language file

## Generating POT File:

You can generate a POT file using:
- WP-CLI: `wp i18n make-pot . languages/sant-chat-ai.pot`
- Poedit
- Online tools like translate.wordpress.org

## Language File Naming:

- Template: `sant-chat-ai.pot`
- Spanish: `sant-chat-ai-es_ES.po` and `sant-chat-ai-es_ES.mo`
- French: `sant-chat-ai-fr_FR.po` and `sant-chat-ai-fr_FR.mo`
- German: `sant-chat-ai-de_DE.po` and `sant-chat-ai-de_DE.mo`

## Translation Ready:

The plugin is translation-ready with:
- Text Domain: `sant-chat-ai`
- Domain Path: `/languages`
- All strings wrapped in translation functions (`__()`, `_e()`, etc.)

## Contributing Translations:

Visit https://translate.wordpress.org/projects/wp-plugins/sant-chat-ai/ to contribute translations.
