> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/wordpress/use-cases/translate-dublin-core-meta-or-other-meta.md).

# Translate Dublin core meta (or other meta)

Dublin Core is a set of meta tags describing your content (recognised by several search engines and directories). They are not translated by default, but you can register them with the `weglot_get_dom_checkers` filter.

Translate a single meta (e.g. `<meta name="dc.title" content="…" />`):

```php
add_filter( 'weglot_get_dom_checkers', 'dublin_core_weglot_dom_check' );
function dublin_core_weglot_dom_check( $dom_checkers ) {
    if ( ! class_exists( 'Dublin_Core_Meta' ) ) {
        class Dublin_Core_Meta extends Weglot\Parser\Check\Dom\AbstractDomChecker {
            const DOM       = 'meta[name="dc.title"]';
            const PROPERTY  = 'content';
            const WORD_TYPE = Weglot\Client\Api\Enum\WordType::META_CONTENT;
        }
        $dom_checkers[] = '\Dublin_Core_Meta';
    }
    return $dom_checkers;
}
```

To target several meta tags at once, list them in the `DOM` selector (comma-separated):

```php
const DOM = 'meta[name="dc.title"],meta[name="dc.description"]';
```
