<wpml-config>

    <!--
        Custom Post Type: herodotus_post
        translate="1" — WPML will create translations for each post.
    -->
    <custom-types>
        <custom-type translate="1">herodotus_post</custom-type>
    </custom-types>

    <!--
        Taxonomy: herodotus_category
        translate="1" — WPML will allow translating category names and slugs.
    -->
    <taxonomies>
        <taxonomy translate="1">herodotus_category</taxonomy>
    </taxonomies>

    <!--
        Custom Fields (post meta):
        action="copy" — date fields are the same across all languages,
        so they are copied rather than translated.
    -->
    <custom-fields>
        <custom-field action="copy">_herodotus_day</custom-field>
        <custom-field action="copy">_herodotus_month</custom-field>
        <custom-field action="copy">_herodotus_year</custom-field>
        <custom-field action="copy">_herodotus_era</custom-field>
        <custom-field action="copy">_herodotus_sort_year</custom-field>
    </custom-fields>

    <!--
        Admin texts: not needed.
        All plugin settings (limit, excerpt_words, cache_ttl, default_image,
        delete_on_uninstall) are numeric values or URLs — none require translation.
    -->

</wpml-config>