Polylang

WPSSO Core provides many text fields that are localized (ie. their values change with the locale). For example, the Facebook / Open Graph WebSite Name and Description values can be different for each supported language. Polylang offers an easy way to switch languages / locales by using it’s language selector in the top menu bar.

wpsso-general-settings-site-info-locale

WPSSO Core Pro also includes a specific module for Polylang, allowing WPSSO Core retrieve accurate language information about the current and/or requested page. The following Polylang functions are used by the WPSSO Core Pro module:

  • pll_home_url()
  • pll_default_language()
  • pll_current_language()
  • pll_get_post_language()
  • pll_get_term_language()