Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Change the Oh bother! No topics were found here! message?

@robkk

Moderator

@casiepa

I am starting to think that filter may not be the best way to translate content. It was widely used though and was recommend a few times in these forums.

The dangers of the gettext filter

While trying to find the bbPress string swap plugin that was a bbPress plugin that use to do this exact thing fine. I came upon this that lead me to find the alternative to the gettext filter and using global $l10n;

https://github.com/justintadlock/hybrid-core/issues/49

Here is an example with BuddyPress and I am sure there is a way to make this kind of thing work with bbPress.

https://bp-tricks.com/coding/string-replacement-hack-core/

Skip to toolbar