# Pulse Booking - Translation Files

This directory contains translation files for the Pulse Booking plugin.

## Files

- `nemtly-booking.pot` - The template file containing all translatable strings
- `nemtly-booking-en_US.po` - English (US) translation file
- `nemtly-booking-en_US.mo` - Compiled English (US) translation file

## Translation Process

1. **For translators**: Use the `.pot` file as a template to create `.po` files for your language
2. **For developers**: Use tools like Poedit or WP-CLI to generate `.mo` files from `.po` files

## Adding New Languages

1. Copy `nemtly-booking.pot` to `nemtly-booking-{locale}.po`
2. Translate the strings in the `.po` file
3. Compile the `.po` file to create a `.mo` file
4. Add the new files to this directory

## WordPress.org Requirements

- Include the `.pot` file for translators
- Include at least one `.mo` file (typically English)
- Ensure all user-facing strings are translatable

## Tools

- **Poedit**: GUI tool for editing translation files
- **WP-CLI**: Command-line tool for managing translations
- **gettext**: Command-line tools for working with translation files

## Example WP-CLI Commands

```bash
# Generate POT file from source code
wp i18n make-pot . languages/nemtly-booking.pot

# Generate PO file from POT
wp i18n make-po languages/nemtly-booking.pot languages/nemtly-booking-en_US.po

# Generate MO file from PO
wp i18n make-mo languages/nemtly-booking-en_US.po languages/
``` 