<?php
_e( 'Toolbar'
); ?></th>
<td>
<label for="admin_bar_front">
<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php
checked( _get_admin_bar_pref( 'front',
$profile_user->ID
) ); ?> />
<?php
_e( 'Show Toolbar when viewing site'
); ?>
</label><br />
</td>
</tr>
<?php
$languages =
get_available_languages();
$can_install_translations =
current_user_can( 'install_languages'
) &&
wp_can_install_language_pack();
?>
<?php
if ( $languages ||
$can_install_translations ) : ?>
<tr class="user-language-wrap">
<th scope="row">
<?php /* translators: The user language selection field label. */ ?>
<label for="locale"><?php
_e( 'Language'
); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label>
</th>
<td>
<?php
$user_locale =
$profile_user->locale;