Notifications
Clear all

wpForo 1.x.x [Closed] Wrong translation Slovakia without chance to translate phrase

13 Posts
2 Users
1 Reactions
759 Views
Jaroslav-Lachky
Posts: 73
Topic starter
(@jaroslav-lachky)
Trusted Member
Joined: 5 years ago

Hi. I just update my wpforo plugin to 1.8.1 and it is great. Thanks for great work 🙂

But I have little problem. I try new function with add topic and it seems that there is mistake with translation. I sand you screenshot. 

And second mistake is about phrase "Please Login or Register to reply topic"  First three words is translated but last words dont and when I am looking to phrase, there is not that phrase to translate. 

 

Thanks for your answer and help 🙂 

 

Keep going with great job with plugin 

12 Replies
Jaroslav-Lachky
Posts: 73
Topic starter
(@jaroslav-lachky)
Trusted Member
Joined: 5 years ago

Here is second screenshot with wrong translation 🙂

Jaroslav-Lachky
Posts: 73
Topic starter
(@jaroslav-lachky)
Trusted Member
Joined: 5 years ago

Hi. I find another one, that can not be translated from phrases, so maybe you can or You can show mé, how can I translate this to Slovák language. 

 

Thanks for answering 🙂 

Tutrix
Posts: 1522
(@tutrix)
Noble Member
Joined: 5 years ago

@jaroslav-lachky

You can add new Phrases

 

9 Replies
Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73
Posted by: @tutrix

@jaroslav-lachky

You can add new Phrases

 

Thanks. And when I add new one, that will automatically change existing one?

And Last quiestion, do I need copy that phrase exaxtly right? I meen, in forum it show first wirds in slovak and Last in English so my guess is, that I need put new phrase all in English. I am right? Thanks 

Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73

@tutrix

I try your advice, but it is only work for first phrase "ADD NEW FÓRUM"

 

Second and third phrases dont work, still the same

 

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1522

@jaroslav-lachky

code in the template

 public function please_login(){
if( !wpforo_is_bot() ){
$html = sprintf( '<div class="wpf-please-login">%1$s %2$s</div>',
wpforo_get_login_or_register_notice_text(),
wpforo_phrase('to reply to this topic.', false, 'lower')
);
echo apply_filters('wpforo_login_message_in_topic', $html);

 

to reply to this topic.

 

don't forget the point at the end
and clear the cache

Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73
Posted by: @tutrix

@jaroslav-lachky

code in the template

 public function please_login(){
if( !wpforo_is_bot() ){
$html = sprintf( '<div class="wpf-please-login">%1$s %2$s</div>',
wpforo_get_login_or_register_notice_text(),
wpforo_phrase('to reply to this topic.', false, 'lower')
);
echo apply_filters('wpforo_login_message_in_topic', $html);

 

to reply to this topic.

 

don't forget the point at the end
and clear the cache

Excuse mé, if it is stupid quiestion but im not technicall guy, but I just piť this in Dashboard themes and copy to CSS file or is there something with change themes in plugin core? 

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1522

@jaroslav-lachky

you "don't" have to change anything in the template, this was only for understanding the phrase

add new phrase

to reply to this topic. and  your translation.

thats all

Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73

@tutrix thanks for answer.

 

I create new phrase also with point and still not work :/ 

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1522

@jaroslav-lachky

 

Phrase cache cleared?

Dashboard > Forums > Dashboard admin page

Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73

@tutrix yes of course.

Clear Caches of phrases and also cleared all Caches and on page CTRL + F5 as it is recommended and still the same.

 

Only translationed phrase is ADD NEW FÓRUM 

Jaroslav-Lachky
(@jaroslav-lachky)
Joined: 5 years ago

Trusted Member
Posts: 73

@tutrix

 

Only this one change