Translate “sort” “view” “posted” and “ago”

9.27K viewsWordPress
0

Hi,

I am using the translated version to spanish of Anspress.

However, in the .po file the words “sort” “view” “posted” and “ago” are not appearing so it can be translated.

However those words appear in the plugin…is there another way to translate them? maybe in the php files?

many thanks!

1

Hi again Priard and thanks for your continuated support,

I have done as you said, downloaded again the .po file but those strings still are not there to be translated.

As you can see in the picture attached, i translated the string %s asked question %s to %s preguntó %s  but if in the .po file you look for the string “posted” you will see that posted is not appearing as a standalone string to be translated, so it still appears in english.

The same situation happens with “sort” which is not included in the translation file.

The word “views” is there to be translated, but it will affect only the stats sidebar widget.

Finally, the same happens with the word “ago” in the question page

Eloi Smith preguntó el 5 días ago

Which makes no sense in spanish, as the correct word should be preguntó “hace 5 días”

So pardon me if this is obvious, but following your steps i’m still been unable to translate this words.

I suspect that those words are just directly inserted in the .php files so i should need to locate them in the core files of the plugin, thing i haven’t been able to do still.

Any help will still be much appreciated,

Thanks!

commented on answer

Hello, Its seems version not matching with po file. Which version of AnsPress you are using?

Hi Rahul 🙂 i’m using version 3.0.7 and WP 4.6.1

You are viewing 1 out of 6 answers, click here to view all answers.