Action: DevOwl/Utils/Localization/LanguagePacks/$slug

do_action( 'DevOwl/Utils/Localization/LanguagePacks/$slug', $urls, $isPrereleaseVersion, $slug, $domain, $locale, $remoteMeta )

Try to download language pack from a remote server for a given language when our build of the plugin does not hold the translations. This hooks allows you to configure predefined endpoints for the language packs or your own additional language pack endpoint.

The $urls scheme:

  'wp-org-svn' => [
     10, // priority
     true, // should this endpoint be considered?
Name Type Description
$urls array
$isPrereleaseVersion boolean
$slug string
$domain string
$locale string
$remoteMeta array
  • 1.16.0