Notifications
Clear all

wpForo 1.x.x [Closed] Some phrases are still displayed in English after translating them via the Front-end Phrases page

3 Posts
2 Users
0 Reactions
2,251 Views
Posts: 15
 Zell
Topic starter
(@zell)
Eminent Member
Joined: 6 years ago

Hello,

first of all, thank you for this amazing plugin. I'm having this problem: even though I have typed my personal translations for lots of the phrases that appear in the forum, I am still seeing some phrases in English. Of course I have cleared the cache, both from the Dashboard and from WP Rocket, but the problem remains - even though only for a few phrases.

For example, I put my translation for "Currently viewing this topic %s %s %s." in the corresponding phrase value, but the forum keeps showing the original phrase.

Moreover, I found Italian translations that I didn't make, and I tried to change them. For example, the forum displays "RISPONDI:" instead of "REPLY:" in the post title every time someone replies to a topic. I have tried to change the translation for "REPLY:" in the Front-end Phrases page, but this hasn't had any effect. I have even tried adding a new phrase using "RISPONDI:" as Phrase_key, but this hasn't had any effect either (now I can't even delete the phrase I have created manually).

How do I solve this? Thank you very much in advance.

2 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Thank you @zell.

For example, I put my translation for "Currently viewing this topic %s %s %s." in the corresponding phrase value, but the forum keeps showing the original phrase.

This is a known issue, We've already fixed it, and the changes will be included in the next version release. 

As a temporary solution, you can edit the wp-content/plugins/wpforo/wpf-includes/functions-template.php file, find this line (2044 line):

$html .= '<p class="wpf-viewing-users"><i class="fas fa-male"></i> ' . sprintf( 'Currently viewing this topic %s %s %s.', $users, $and, $guests) . '</p>';

Change to this:

$html .= '<p class="wpf-viewing-users"><i class="fas fa-male"></i> ' . sprintf(wpforo_phrase( 'Currently viewing this topic %s %s %s.', false), $users, $and, $guests) . '</p>';

For example, the forum displays "RISPONDI:" instead of "REPLY:" in the post title every time someone replies to a topic. I have tried to change the translation for "REPLY:"

Please read this support topic: 

https://gvectors.com/forum/general-questions/forum-post-subject-reply-text/#post-10862

Posts: 15
 Zell
Topic starter
(@zell)
Eminent Member
Joined: 6 years ago

Thank you very much!