Hi,

Im having a problem getting homebox to respond to a language selector. Homebox contains several blocks and they do not respond inside homebox to the language dropdown selector (part of the i18n internationalization module).

At present I have trieds setting up a different homebox at www.mysite.com/es for the spanish content. However in the list of available blocks under Homeboxes layout the translated blocks do not appear.

Any ideas anyone?

CommentFileSizeAuthor
#6 homebox.module-799122.patch483 byteskenorb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Lionsharz’s picture

Anybody there? The i18n translation tool recognizes the path prefix for each language, for example /es being spanish. Normally this is enough to trigger the language in the blocks but when the blocks appear inside Homebox they no longer respond to the language switcher. Can you suggest anything? Do I have to make a seperate Homebox page for each prefix? That would be cumbersome and difficult to implement on sites using Homebox on more than one page (at present mine's only on the home page).

domidc’s picture

subscribing

JBI’s picture

On 6 x 2 it work

brianV’s picture

Status: Active » Closed (won't fix)

Homebox 6.x-1.x is no longer supported.

dstanley333’s picture

Im havaing the same problem in 6x2

kenorb’s picture

Category: support » bug
Status: Closed (won't fix) » Needs review
FileSize
483 bytes

I think this affects as well 7.x, because the code hasn't been change much.

Basically I can see that block titles are not translated on the page at all.

After applying this patch, it seems to work:

Index: homebox.module
===================================================================
--- homebox.module	(revision 6883)
+++ homebox.module	(working copy)
@@ -529,7 +529,7 @@
 
   // Build the $block object.
   $block->key = $block_key;
-  $block->subject = $block_settings['title'];
+  $block->subject = t($block_settings['title']);
   $block->module = $block_settings['module'];
   $block->delta = $block_settings['delta'];
   $block->region = (int) $block_settings['region'];
drumm’s picture

Issue summary: View changes

Homebox 6.x is no longer supported. If this can be reproduced with Drupal 7, please re-open the issue.

drumm’s picture

Status: Needs review » Closed (won't fix)