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?
     "https://plugins.svn.wordpress.org/my-plugin/language-packs/de_DE.zip"
  ]
]
Parameters:
Name Type Description
$urls array
$isPrereleaseVersion boolean
$slug string
$domain string
$locale string
$remoteMeta array
Since:
  • 1.16.0