# Atomic Elements Translations

This directory contains translation files for the Atomic Elements plugin.

## Files

- `atomic-elements.pot` - Template file containing all translatable strings from the plugin
- `atomic-elements-{locale}.po` - Translation file for a specific locale
- `atomic-elements-{locale}.mo` - Compiled translation file used by WordPress

## How to Create Translations

1. Copy the `atomic-elements.pot` file and rename it to `atomic-elements-{locale}.po` (e.g., `atomic-elements-fr_FR.po` for French)
2. Edit the `.po` file with a translation editor like Poedit (https://poedit.net/)
3. Save the file, and Poedit will automatically generate the `.mo` file
4. Upload both the `.po` and `.mo` files to this directory

## Adding Translation Support to Your Theme

Make sure the plugin is properly loading the text domain in the main plugin file:

```php
function atomel_load_textdomain() {
    load_plugin_textdomain('atomic-elements', false, dirname(plugin_basename(__FILE__)) . '/languages');
}
add_action('plugins_loaded', 'atomel_load_textdomain', 11);
```

## Available Translations

- English (Default)
- Spanish (es_ES) - Example translation

## Contributing Translations

If you'd like to contribute a translation for Atomic Elements, please:

1. Create a translation file as described above
2. Send your translation files to the plugin author or submit a pull request

Thank you for helping make Atomic Elements accessible to users worldwide! 