Title: wp-admin/includes/translation-install.php | Developer.WordPress.org

---

# File: wp-admin/includes/translation-install.php

 * function[wp_can_install_language_pack()](https://developer.wordpress.org/reference/functions/wp_can_install_language_pack/)
 * Check if WordPress has access to the filesystem without asking for credentials.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_can_install_language_pack/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/wp_can_install_language_pack/#uses)
   | Source: [wp-admin/includes/translation-install.php:302](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L302-L319)
 * function[wp_download_language_pack()](https://developer.wordpress.org/reference/functions/wp_download_language_pack/)
 * Download a language pack.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/wp_download_language_pack/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/wp_download_language_pack/#uses)
   | Source: [wp-admin/includes/translation-install.php:254](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L254-L292)
 * function[translations_api()](https://developer.wordpress.org/reference/functions/translations_api/)
 * Retrieve translations from WordPress Translation API.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/translations_api/#used-by)
   | Uses [11 functions](https://developer.wordpress.org/reference/functions/translations_api/#uses)
   | Source: [wp-admin/includes/translation-install.php:36](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L36-L142)
 * hook[translations_api](https://developer.wordpress.org/reference/hooks/translations_api/)
 * Allows a plugin to override the WordPress.org Translation Installation API entirely.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/translations_api/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/translations_api/#uses)
   | Source: [wp-admin/includes/translation-install.php:50](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L50-L50)
 * hook[translations_api_result](https://developer.wordpress.org/reference/hooks/translations_api_result/)
 * Filters the Translation Installation API response results.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/translations_api_result/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/translations_api_result/#uses)
   | Source: [wp-admin/includes/translation-install.php:141](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L141-L141)
 * function[wp_get_available_translations()](https://developer.wordpress.org/reference/functions/wp_get_available_translations/)
 * Get available translations from the WordPress.org API.
 * Used by [2 functions](https://developer.wordpress.org/reference/functions/wp_get_available_translations/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/wp_get_available_translations/#uses)
   | Source: [wp-admin/includes/translation-install.php:167](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L167-L192)
 * function[wp_install_language_form()](https://developer.wordpress.org/reference/functions/wp_install_language_form/)
 * Output the select form for the language selection on the installation screen.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/wp_install_language_form/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/wp_install_language_form/#uses)
   | Source: [wp-admin/includes/translation-install.php:203](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/translation-install.php#L203-L241)