Several widgets disappear when .mo file installed

I’m preparing a Hungarian translation for my BuddyPress/WordPressMu site, but when I upload the .mo and .po files all but one of my Home page widgets disappear. I got an error message when recompiling from the source files saying the v escape could not be used in internationalization and replaced the v with n .

It is clear now that as long as I don’t try to translate the widget’s name that appears in the block header, the widget will display. Translating coded strings in the block content doesn’t seem to have any effect.

Of course, I will have to translate the widget name, but this would seem to point to where the problem is – some incompatibility between the header code and the UTF-8 coding for accented characters.

Make sure you remove all widgets before translating, if you translate after you have added widgets, they will be removed. It’s due to a limitation on register_sidebar_widget() and unfortunately there is not much that can be done about it.

You should know that there is some people (like me), that is having this problems with the widgets using spanish translation. Widgets welcome, groups, site wide activity, blog recent post, and 2 o 3 more … they dissapear when we put the spanish translation as default.

I am still having this problem. I removed all widgets, set the language back to English, deleted the german .mo and .po files, updated the options, put the language files back into place and last added the widgets again. Still “Who’s online”, “Site wide activity” and “Groups” do not show.

For all who are still having this issue. There was a bug fix 3 weeks ago that addressed this issue. See Changeset 1244. All widgets that come with BuddyPress were fixed with this revision.

If you are not running at least BuddyPress r1244, then you will still have issues.

Note: Custom widgets (3rd-party developed widgets), may or may not have implemented this bug fix. Therefore, if you are having translation issues with non-core BP widgets, you will need to contact the developer directly.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Several widgets disappear when .mo file installed’ is closed to new replies.