Hi. I had the same problem but now it’s fixed. First, I wrote these few lines of code in the file anspress.php, located at the main folder of the plugin. Just put these lines at the begining of the file, just after of Domain Path:/languages */… This is the code that you need to put:
/* Add localization support */
function ap_localization_setup() {
load_plugin_textdomain('ap', false, dirname(plugin_basename(__FILE__)) . '/languages/');
}
add_action('after_setup_theme', 'ap_localization_setup');
So when you finish, the file will look like this (theres no need to delete nothing, just insert the code above without move anything more):
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
*/
/* Add localization support */
function ap_localization_setup() {
load_plugin_textdomain('ap', false, dirname(plugin_basename(__FILE__)) . '/languages/');
}
add_action('after_setup_theme', 'ap_localization_setup');
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
Now! thats the first step, The second step is to create the .po and .mo files with “CodeStyling Localization” Plugin, You can find a tutorial about using this plugin, its easy..
The last step! once you get the .mo and .po files, you need to rename them. The textdomain of the AnsPress is ap, so the files might be like this in your case:
ap-he_IL.po and ap-he_IL.mo
Thats all. Its works fine for me. example: mywebsite