get_installed_translations()
public static function get_installed_translations( $domain='gravityforms', $return_files=false )
Returns an array of locales or mo translation files found in the WP_LANG_DIR/plugins directory.
Since: 2.5.6
Source: common.php:7216
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$domain | string | 'gravityforms' | The plugin text domain. Default is gravityforms. |
$return_files | bool | false | Indicates if the mo files should be returned using the locales as the keys. |
Returns
array