WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp get installed translations

Description

This function gets installed translations.It looks in the wp-content/languages directory for translations of themes or plugins .It returns array of language data.

Usage

 <?php wp_get_installed_translations$type ); ?> 

Parameters

$type
(string) (required) string is either themes or plugins or core required
Default: None

Returns

Array of language data

Change Log

Source File

wp_get_installed_translations() is located in wp-includes/l10n.php#L751