This plugin’s slug is admin-bar-fix, but the current Text Domain is admin_bar_fix. Change the current Text Domain so it is equal to your slug and modify the text domain in all your source files.
Text Domain: admin-bar-fix
load_plugin_textdomain( 'admin-bar-fix', false, basename( dirname( __FILE__ ) ) . '/languages/' );
You must add your Text domain as an argument to every __(), _e() and __n() gettext call, or your translations won’t work. If there are strings in your plugin that are also used in WordPress core (e.g. ‘Settings’), you should still add your own text domain to them, otherwise they’ll become untranslated if the core string changes (which happens). Please refer to this article.
array_unshift( $links, '<a href="options-general.php?page=' . basename( __FILE__ ) . '">' . __('Settings', 'admin-bar-fix') . '</a>' );
<?php if( isset( $_POST['plugin_sent'] ) ) echo '<div id="message" class="below-h2 updated"><p>' . __('Settings saved.', 'admin-bar-fix') . '</p></div>' ?>
<input type="submit" class="button button-primary button-large" value="<?php esc_html_e('Save', 'admin-bar-fix') ?>">
Please make menu option strings localizable.
]]>Will this plugin work on multi site?
]]>