¿Tiene multilenguage?








function festesol_settings() {
	add_options_page(
	'Opciones de Festesol', 'Festesol', 
	'festesol_settings_page', 'my-unique-identifier', 'festesol_options' 
	);
	
	/*
	add_menu_page(
		'Opciones de Festesol', 'Festesol',
		'administrator', __FILE__, 'festesol_settings_page',
		plugins_url('/images/icon.png', __FILE__)
	);
	*/
	add_action( 'admin_init', 'festesol_settings_register' );
}

function festesol_settings_register() {
	//register our settings
	register_setting( 'festesol-settings-group', 'new_option_name' );
	register_setting( 'festesol-settings-group', 'some_other_option' );
	register_setting( 'festesol-settings-group', 'option_etc' );
}

function festesol_settings_page() {
	
	// TODO cfillol: ¿Es necesario?
	/*
	if ( !current_user_can( 'manage_options' ) )  {
		wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
	}
	*/
	
?>
<div class="wrap">
<h2>Your Plugin Name</h2>

<form method="post" action="options.php">
    <?php settings_fields( 'festesol-settings-group' ); ?>
    <?php do_settings_sections( 'festesol-settings-group' ); ?>
    <table class="form-table">
        <tr valign="top">
        <th scope="row">New Option Name</th>
        <td><input type="text" name="new_option_name" value="<?php echo esc_attr( get_option('new_option_name') ); ?>" /></td>
        </tr>
         
        <tr valign="top">
        <th scope="row">Some Other Option</th>
        <td><input type="text" name="some_other_option" value="<?php echo esc_attr( get_option('some_other_option') ); ?>" /></td>
        </tr>
        
        <tr valign="top">
        <th scope="row">Options, Etc.</th>
        <td><input type="text" name="option_etc" value="<?php echo esc_attr( get_option('option_etc') ); ?>" /></td>
        </tr>
    </table>
    
    <?php submit_button(); ?>

</form>
</div>

<?php
}
