# stepFORM Plugin Translations

This directory contains translation files for the stepFORM WordPress plugin.

## Available Languages

- **English (en_US)** - Default language
- **Russian (ru_RU)** - Russian translation

## File Structure

- `stepFORM.pot` - Template file for translators
- `stepFORM-en_US.po` - English translation source
- `stepFORM-ru_RU.po` - Russian translation source
- `stepFORM-ru_RU.mo` - Compiled Russian translation (binary)

## How WordPress Determines Language

WordPress automatically detects the site language from:
1. `WPLANG` constant in wp-config.php
2. Site language setting in WordPress admin
3. User language preference (for admin interface)

The plugin will automatically load the appropriate translation file based on the WordPress locale.

## Adding New Translations

1. Copy `stepFORM.pot` to `stepFORM-{locale}.po`
2. Translate all `msgstr` entries
3. Compile to `.mo` file using `msgfmt` or online tools
4. Test the translation in WordPress

## Supported Locales

- `en_US` - English (United States)
- `ru_RU` - Russian (Russia)

## Notes

- All strings in the plugin use the `stepFORM` text domain
- Translation files follow WordPress i18n standards
- The plugin falls back to English if a translation is not available
