the latest version changed some phrases and they have yet to be added into the translations.
you can use
bbp style pack
once activated go to
dashboard>settings>bbp style pack>translations
Hi,
My forum is set in German (bbpress-de_DE)
There are some things in my forum that are not translated.
e.g: https://www.apis.de/forum/topic/pim-2/ (See top line, a mix of German and English). I have tried editing the bbpress-de_DE-formal.po file using Poedit for Windows, but this does not make any changes.
How can I edit existing translations and add further translations plz?
Hi,
I use WordPress version 5.4.1 and bbpress version 2.6.4 on my website http://www.afvallenkunjeleren.nl with the theme woostify.
I have something strange: I have downloaded the .mo file (named it bbpress-nl_NL.mo, and the .po file is bbpress-nl_NL.po) from the official bbpress site and uploaded it through file manager in my forum.
But nothing will be translated. When I look in the plugin Loco translate, that I use there is nothing translated.
Can anyone help me please?
Thank you very much in advance!
With warm regards,
Klaziena Waerts
I really really recommend using the plugin called “WP Override Translation.” It works perfecty… you will then be able to change “Forum” to “Newsroom.”
Hope this helps because the plugin helped me so much!!!
this
Function reference
suggests
pll_register_string($name, $string, $group, $multiline);
‘$name’ => (required) name provided for sorting convenience (ex: ‘myplugin’)
‘$string’ => (required) the string to translate
‘$group’ => (optional) the group in which the string is registered, defaults to ‘polylang’
‘$multiline’ => (optional) if set to true, the translation text field will be multiline, defaults to false
so maybe
pll_register_string( 'slug_users', '_bbp_user_slug', 'polylang' );
I found this in another thread
Found the solution: simply selecting ‘Dutch’ in the Admin > General Settings section instead of ‘Dutch (Formal)’ in the field ‘Website Language’ did the trick. After saving and refreshing the website, the forum shows the Dutch translation.
don’t know if that helps
it can be complicated and can require some digging to find the original phrase, but my style pack plugin has a translation section which works for quite a few
bbp style pack
once activated go to
dashboard>settings>bbp style pack>translations
Put this in your child theme’s function file – or use
Code Snippets
add_filter( 'ngettext', 'rew_bbpress_translate' , 20 , 5 );
function rew_bbpress_translate( $translation, $single, $plural, $number, $domain ) {
if ($domain == 'bbpress') {
if ($translation == 'Viewing %1$s topic') $translation = 'Viewing %1$s messages' ;
if ($translation == 'Viewing %1$s topics') $translation = 'Viewing %1$s messages' ;
if ($translation == 'Viewing topic %2$s (of %4$s total)') $translation = 'Viewing message %2$s (of %4$s total)' ;
if ($translation == 'Viewing %1$s topics - %2$s through %3$s (of %4$s total)') $translation = 'Viewing %1$s messages - %2$s through %3$s (of %4$s total)' ;
}
return apply_filters ('rew_bbpress_translate', $translation, $single, $plural, $number, $domain ) ;
}
Same problem here. I have the right translation in my .mo-files, but still the english translation is shown in the freshness part for year, month, day, hour…
Any suggestions?
@robin-w I can translate it with your style plugin, but it is way to big to install for just translating these few words…
Thanks
Matthias
Really interesting plugin
I did not even modify the Freshness Display and it switched to last reply by default.
I’m going to help you out with the translation to Spanish of that plugin.
By the way, for code improvements, how do you track changes? do you have public repo for the plugin or using WP SVN?
I have created the po and mo files translated into Spanish and I have uploaded them but they do not work I cannot understand why it is so difficult to translate the forum
Hi
In the past, I had the same question, but I didn’t try to find a solution yet.
I’ll try to continue this thread.
It’s about the page title for the opening page or index page of the forum, shown in the browser’s title bar. For the topic starter, that title starts with:
Archiwum Fora
It’s Polish for “archive forums”.
For my site, it’s in Dutch:
Archief forums
It’s Dutch for “archive forums”.
It’s the title of the index page of the forum shown by the browser.
For forums themselves, the browser shows the title of the forum as text in the browser’s title bar. So that’s going well.
As the forum opening page or index page is live and active, it’s expected to not to see “archive” as title in the browser.
On my setup, I tried the suggestion of mclegend.
Administration -> You mean the WordPress Back-End with all the configuration settings?
For ‘Configuration’, I don’t see ‘Server Settings’, only ‘Settings’ and indeed ‘General’, which points to basic WordPress options / item “Forum Title” is not there.
There is however a ‘Settings’ with ‘Forums’, and I see forum-related options. eg. Forum root and below the title ‘Single Forum Slugs’, there is ‘forum’, which could be a title, but not labeled that way.
The setting or word ‘archive’ or Dutch translated variant is on those pages not mentioned.
I suppose the Dutch (or for topic starter, Polish version) is by using translation file(s) and localized version of the WordPress.
But it’s not about the translation, it’s about the original ‘archive’ in the title.
So, question remains:
How to get rid of the word ‘archive’ in the browser’s title bar for the opening page or index page of the forum, and/or where can we set a title manually?
Current setup: PHP 7.3.12 / WordPress 5.3.2 / bbPress 2.5.14 and seen on earlier versions of 2.5.x and on the later 2.6.x versions while testing.
The proper location of translation files for bbPress was a mystery for me too. It looks like, that for bbPress 2.6 you only need to put them into (a change from previous version)
…\wp-content\languages\plugings\
And yes, if you download from
https://translate.wordpress.org/projects/wp-plugins/bbpress/
you get a po file with a wrong name, like
wp-plugins-bbpress-stable-fi.po
which you must chagne.
After last main update I still have problems with translations: some words in italian, and some words in english.
How can I solve the issue? Or do I have just to wait for an update again?
Hi
How to translate forum Moderation notification email entitled “Moderation: Flagged topic”?
I looked in BBpress settings and search for eventual po file but I didn’t find anything!!
Could you tell how and where I could perform this translation?
TIA
CGC
This is my complete configuration if it helps.
I don’t understand why my “Meeting Schedule Assistant” forum has rather sporadic ordering of the forums!
General Information - Category - Public - Order 0
FAQ - Forum - Public - Order 0
Misc - Forum - Private - Order 1
Meeting Schedule Assistant - Category - Private - Order 0
General Discussion - Forum - Private - Order 0
Assignments Editor - Forum - Private - Order 2
Midweek Editor - Forum - Private - Order 2
Midweek Editor Custom Templates - Forum - Private - Order 2
Calendar Sync - Forum - Private - Order 3
MWB Info - Forum - Private - Order 4
Translations - Forum - Private - Order 4
Public Talks - Category - Private - Order 1
General Discussion - Forum - Private - Order 0
Custom Report Scripts - Forum - Private - Order 1
Custom Report Scripts Samples - Forum - Private - Order 2
Calendar Sync - Forum - Private - Order 3
Send Outlook - Forum - Private - Order 4
Talk Outlines - Forum - Private - Order 5
Translations - Forum - Private - Order 6
Visits Rota - Category - Private- Order 2
General Discussion - Forum - Private - Order 1
Translations - Forum - Private - Order 2
I created a new topic today:
https://www.publictalksoftware.co.uk/support-forums/topic/is-it-possibly-to-modify-1st-2nd-3rd-translations-on-the-new-s-89-template/
It is a private forum post. I used TinyMCE editor and it has:
– Paragraphs
– Table
– Background colour
– Code snippets
– Heading 3
I hit “Submit” and the topic looks good.
I click “EDIT” and alot of all the underlaying HTML is stripped.
So I hit BACK in my browser. I set the default editor as TEXT and then I clicked EDIT and this time the whole text showed in the TEXT editor.
Why did the TinyMCE editor strip the content?
I am using:
– WordPress 5.3 (it uses TinyMCE 4.9.6 internally)
– bbp Style Pack
– TinyMCE ADvanced
– Advanced TinyMCE Configuration
I seem to recall I used to have the same problem in general in Wordress when editing posts that had code in them would show funny. I really don’t know enough about the mechanics of the whole system to know where to look or who to direct the issue towards.
If anyone can replicate this problem or can direct me to a resolution I would be grateful. Thank you.
@maksanse
Translation of bbPress 2.6.x is being updated. Hopefully by next weekend all is done.
ok, in 4.3.6 freshness tab, I have added translations
I’ve looked further at the code, and yes my translation won’t work for time.
I am just a bbpress user who helps out on this forum, so I cannot say when the devs will complete the translations.
Ok.
I couldn’t make it work with dates… Anyway, translation should arrive soon, right ?
Thank you Robin !
I saw your translation tab today and was thinking to giving it a try (thank you for the plugin by the way 👍).
Edit : I tried it like this, but it doesn’t solve the issue :
Is there anything else to do than translating it here and saving that settings ?
this is because 2.6 has changed some wording and context, and the new translations have not been made yet
to fix the above either use this
add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 );
add_filter( 'ngettext', 'rew_bbpress_translate' , 20 , 3 );
function rew_bbpress_translate( $translated, $text, $domain ) {
if ($domain == 'bbpress') {
$words = array(
'%s day' => '%s jour',
'%s days' => '%s jours',
'Last Post' => 'Dernier message',
);
$translated = str_replace( array_keys($words), $words, $translated );
}
return $translated;
}
Put this in your child theme’s function file – or use
Code Snippets
or use the translations tab in my style pack plugin
bbp style pack
Hello !
I updated bbpress to version 2.6.1 and noticed that several words were not translated anymore (I own a french website), especially in freshness :
I used to edit those translation with a plugin called “Loco Translate”.
So I went and checked if those words (ago, months, months, day, days, etc.) were still correctly translated in french version, and they are.
So, is there an issue with translation since 2.6.x release with the freshness labels ?
Can you help ?
Best regards
this will let you change text if you need it – not as good as having an ‘accepted translation’ but better than English
add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 );
add_filter( 'ngettext', 'rew_bbpress_translate' , 20 , 3 );
function brexit_translate( $translated, $text, $domain ) {
if ($domain == 'bbpress') {
$words = array(
'Topic' => 'New-word',
'topic' => 'new-word',
);
$translated = str_replace( array_keys($words), $words, $translated );
}
return $translated;
}
just change what you need and add to in the middle section
Put this in your child theme’s function file – or use
Code Snippets