AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] "Edit post" title - translation failure

5 Posts
2 Users
1 Reactions
3,304 Views
Posts: 35
 serd
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@serd)
Trusted Member
Joined: 10 years ago
[#4585]

Hi,

despite the phrase is translated in the "phrases" section of the WPforo menu, this phrase is still displayed in English on the front end. I did reset cache but it did not help, although for other phrases translation via the "phrases" section worked fine without cache resetting.

What could be the solution? Thanks.

2017 06 11 23 38 38
 
 
2017 06 11 23 39 59

4 Replies
Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

If you do some changes in Forums > Phrases, please also delete Phrase Cache in Dashboard > Forums > Dashboard admin page (click on Delete Phrase Cache) button. Then Delete website cache and do Ctrl+F5 on forum front.

Also I'd recommend use according language pos/mo files. More information here:

https://wpforo.com/docs/root/translation/translate-using-pot-file/


Posts: 35
 serd
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@serd)
Trusted Member
Joined: 10 years ago

Thanks Rob.

 


1 Reply
 serd
(@serd)
Joined: 10 years ago

Trusted Member
Posts: 35
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi Rob,

coming back to previous discussion - for some reason translation does not work for at least two phrases:

  • Edit post
  • Reply with quote

I did make sure the phrases were translated and reset the phrase cache, however it did not help. Any other recommendations, please?

Please see attached.

 

 

 

 

2017 11 23 10 47 22
2017 11 23 10 47 48

Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Thank you for letting us know. We've fixed these phrases in next 1.4.3 version. It'll be released very soon.

In any case if you need this urgently please follow to this instruction:

Open /wp-content/plugins/wpforo/wpf-assets/js/ajax.js file and find this line:

$("#wpf-reply-form-title").html('Reply with quote');

Change it to this:

var phrase = wpforo_phrase('Reply with quote');
phrase = phrase.charAt(0).toUpperCase() + phrase.slice(1);
$("#wpf-reply-form-title").html( phrase );

 

Then find this line in the same file:

$("#wpf-reply-form-title").html('Edit post');

Change it to this:

var phrase = wpforo_phrase('Edit post');
phrase = phrase.charAt(0).toUpperCase() + phrase.slice(1);
$("#wpf-reply-form-title").html( phrase );

Save it, delete all caches and do Ctrl+F5 on forum front.

 Please do not translate phrases in code, they will get the translated values from wpForo Phrases.


Share: