Steps for fixing translation issue after update

7.76K viewsGeneral
1

If you find some words that are not translated via .po and .mo file and still are in english :

Use Say What? plugin to alter strings on your site without editing WordPress core, or plugin code.

After installation go to Tools >> Text Change.

Here is an exemple for the word “Followers” that will be “Abonnés” for my use.

The Text Domain “ap” is the one for the AnsPress plugin but each plugin and theme has its own. You can find it in php files, often after a ,

See plugin doc for more information

Answered question

Attachments

Sans-titre.jpg
0

hi
i have problem with this plugin i cant insert the images with insert image button and the color of texts in question text box is white.
what is the problem?
how can i buy a them for this plugin?
how can i use that them?
and some of the plugin’s parts are unknown .

Edited answer
1

Rahul, please allow translation capabilities for categories and tags plugin 😀 Thanks!

and email plugin! and AnswerBox-widgets!

Excuse me, don’t post a comment as an answer please….

@ Lucas & morteza you can translate categories et mail plugin in each plugin. There is a lang file.

@Azman yes,of course, but that lang files isn’t effective and not worked….

1

@rahularyan @Azman

1- Please try Rahuls Answer.

2- Please do THIS after any of your wp-plugins update.

***VERY IMPORTANT NOTICE***

Sometimes, for some of language (like Arabic/Persian), after renaming source lang-file for translate, you need to change somethings. Please visit (& do) these screenshots to see what’s happen:

A- Before changing in “Language Field”. (Everything is right)

B- After changing in “Language Field”. (somethings are lost)

C- For resolve this issue: Please select “Use custom expression”, then type “nplurals=2; plural=(n != 1);” or “nplurals=2; plural=n == 1 ? 0 : 1;” in below field and then click OK. (Learn about plural forms)

 

BUT!!!!!!!!!!!!!!!!!

AP-tags, AP-category and AP-Email plugins and AnswerBox widgets are not translated for me…

Rahul, how can translate these?

AnswerBox translation issue is already in my task list.

@rahularyan
And other AP-plugins?

0

Best tool for editing WordPress translation is poedit (poedit.net)

Simply follow this steps if new strings are missing:

  1. Load you language file in poedit
  2. now go to Catalog ->Update from POT file
  3. Now select latest ap.pot file from AnsPress language directory.

Now new strings can be seen in your translation.

Yes but we still have some strings that are not in that table.

Which one ? list them all

It’s ok it was the same “issue” as lucas categories & mail but they are others plugins ! haha