Forum Moderators: rogerd & travelin cat
genesis_register_sidebar( array(
'id' => 'after-post',
'name' => __( 'After Post', 'themename' ),
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ),
) ); Make a string inside your plugin or theme translatable:
$translated = __( 'Hello World!', 'mytextdomain' );
$translated = __( 'Hello World!', 'mytextdomain' ); $text_domain = 'mytextdomain';
$string = 'Hello World!';
$translated = __( $string, $text_domain );
/*
* Plugin Name: My Plugin
* Author: Otto
* Text Domain: my-plugin
*/