Most important tips in translating AP-tags, AP-categories, AP-email plugins + AnswerBox theme

3.37K viewsGeneral
1

For tag-for-anspress plugin:

In “plugins/tag-for-anspress/tag-for-anspress.php”, line 189:

load_plugin_textdomain( ‘ap’, false, $lang_dir );

with:

load_plugin_textdomain( ‘tags-for-anspress’, false, $lang_dir );

For categories-for-anspress plugin:

In “plugins/categories-for-anspress/categories-for-anspress.php”, line 186:

load_plugin_textdomain( ‘ap’, false, $lang_dir );

with:

load_plugin_textdomain( ‘categories-for-anspress’, false, $lang_dir );

For anspress-email plugin & AnswerBox theme:

1- Download apt.zip and extract it ( password= anspress ).

*Note: this is a persian site, please at first select

then select

 

2-Put downloaded new “ab.pot” file in “wp-content/languages/themes” (AB-lang-files not work in “themes/anspress-answerbox/languages” ), then use it.

3-1- Put “AnsPress_Email.pot” file in “plugins/categories-for-anspress/languages” , then use it.

3-2- Open “anspress_email.php” and delete all of ( \r )s in it. (Do not be afraid! ? see screenshot)

 

GOOD LUCK!

@rahularyan please set this as featured for friends. thanks