Using
UsingTranslating SEO metadata

Translating SEO metadata

Gato AI Translations for Polylang can translate the SEO metadata from any plugin that stores this data in the wp_postmeta table.

The following plugins are supported:

  • All in One SEO
  • Rank Math
  • SEO Simple Pack
  • SEOPress
  • Slim SEO
  • The SEO Framework
  • WP Meta SEO
  • Yoast SEO

How it works

In the Settings > Meta Configuration tab, define the meta keys to copy and translate for custom posts, under inputs:

  • Copy Meta for Custom Posts and Meta
  • Translate Meta for Custom Posts and Meta

Each meta key can be defined via its name, or using a regex:

Configuring the meta keys for translation
Configuring the meta keys for translation

Provide the meta keys corresponding to the SEO plugin you are using.

For instance, any of these entries match meta key "_yoast_wpseo_title":

  • _yoast_wpseo_title
  • /"_yoast_wpseo_.*/
  • #"_yoast_wpseo_([a-zA-Z]*)#

SEO plugin meta keys

The following table shows the meta keys to copy and translate for several SEO plugins:

SEO PluginMeta Keys to TranslateMeta Keys to Copy
All in One SEO (AIOSEO)_aioseo_description
_aioseo_og_title
_aioseo_og_description
_aioseo_twitter_title
_aioseo_twitter_description
Rank Mathrank_math_description
rank_math_focus_keyword
rank_math_facebook_title
rank_math_facebook_description
rank_math_twitter_title
rank_math_twitter_description
rank_math_facebook_image
rank_math_twitter_image
rank_math_canonical_url
SEO Simple Packssp_meta_title
ssp_meta_description
ssp_meta_keyword
ssp_meta_image
ssp_meta_canonical
SEOPress_seopress_titles_title
_seopress_titles_desc
_seopress_analysis_target_kw
_seopress_social_fb_title
_seopress_social_fb_desc
_seopress_social_twitter_title
_seopress_social_twitter_desc
_seopress_social_fb_img
_seopress_social_twitter_img
_seopress_robots_canonical
Slim SEOslim_seo
The SEO Framework_genesis_title
_genesis_description
_open_graph_title
_open_graph_description
_twitter_title
_twitter_description
_social_image_url
_genesis_canonical_uri
WP Meta SEO_metaseo_metatitle
_metaseo_metadesc
_metaseo_metaspecific_keywords
_metaseo_metaopengraph-title
_metaseo_metaopengraph-desc
_metaseo_metatwitter-title
_metaseo_metatwitter-desc
_metaseo_metaopengraph-image
_metaseo_metatwitter-image
Yoast SEO_yoast_wpseo_title
_yoast_wpseo_metadesc
_yoast_wpseo_focuskw
_yoast_wpseo_opengraph-title
_yoast_wpseo_opengraph-description
_yoast_wpseo_twitter-title
_yoast_wpseo_twitter-description
_yoast_wpseo_opengraph-image
_yoast_wpseo_twitter-image