# polylang/3.8.9/src/settings/view-tab-strings.php

Polylang, version 3.8.9. 38 lines.

- Page: https://pluginprobe.com/plugins/polylang/3.8.9/code/src/settings/view-tab-strings.php
- Raw: https://pluginprobe.com/plugins/polylang/3.8.9/raw/src/settings/view-tab-strings.php
- Modified: 2026-02-23T14:05:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/polylang/3.8.9/code/src/settings/view-tab-strings.php#L10-L20`.

```php
<?php
/**
 * Displays the strings translations tab in Polylang settings
 *
 * @package Polylang
 *
 * @var PLL_Table_String $string_table An object representing the translations list table.
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="form-wrap">
	<form id="string-translation" method="post" action="<?php echo esc_url( add_query_arg( 'noheader', 'true' ) ); ?>">
		<input type="hidden" name="pll_action" value="string-translation" />
		<?php
		$string_table->search_box( __( 'Search translations', 'polylang' ), 'translations' );
		wp_nonce_field( 'string-translation', '_wpnonce_string-translation' );
		$string_table->display();

		if ( current_user_can( 'manage_options' ) ) {
			printf( '<br /><label><input name="clean" type="checkbox" value="1" /> %s</label>', esc_html__( 'Clean strings translation database', 'polylang' ) );
			?>
			<p><?php esc_html_e( 'Use this to remove unused strings from database, for example after a plugin has been uninstalled.', 'polylang' ); ?></p>
			<?php
		}

		submit_button();
		?>
	</form>
	<div class="metabox-holder">
		<?php
		wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
		do_meta_boxes( PLL_Admin_Base::get_screen_id( 'strings' ), 'normal', array() );
		?>
	</div>

</div>

```
