diff --git a/src/wp-admin/includes/translation-install.php b/src/wp-admin/includes/translation-install.php
index a618c848cc..1c60474b71 100644
--- a/src/wp-admin/includes/translation-install.php
+++ b/src/wp-admin/includes/translation-install.php
@@ -139,7 +139,13 @@ function wp_install_language_form( $languages ) {
if ( ! empty( $wp_local_package ) && isset( $languages[ $wp_local_package ] ) ) {
if ( isset( $languages[ $wp_local_package ] ) ) {
$language = $languages[ $wp_local_package ];
- echo '\n";
+ printf( '' . "\n",
+ esc_attr( $language['language'] ),
+ esc_attr( $language['iso'][1] ),
+ esc_attr( $language['strings']['continue'] ),
+ in_array( $language['language'], $installed_languages ) ? ' data-installed="1"' : '',
+ esc_html( $language['native_name'] ) );
+
unset( $languages[ $wp_local_package ] );
}
}