Module does not work on localizations other than english

clava - January 3, 2008 - 15:26
Project:Hotkey
Version:5.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

First of all I would like to thank you for the very useful module.
I have a multisite installation (Drupal 5.5). One site works in english, the others in german. On the english site the module works as expected. On the german sites not. I even can not save settings and the hotkeys don't work in the forms.

Do you have any idea?

#1

clava - January 11, 2008 - 06:52
Title:Module does not work on localizations other than english» To be more precise

The module only works if the user sets the language in "/user/***/edit" under "Interface language settings" to English.

#2

clava - January 14, 2008 - 09:37
Title:To be more precise» Module does not work on localizations other than english

#3

Shawn Conn - February 1, 2008 - 21:59
Status:active» active (needs more info)

I'm not familiar with any of Drupal's localization features, so you're going to have to help me out here to figure what's going on. If I had to guess, I'd imagine its because the button labels are ran through the translate function in Drupal whereas the default labels in the settings are not. In a recent commit, I'll be adding a change that translates the default values so that might do it.

As far as saving new key > Button label values in the settings form, is it not saving the new values you enter? I need a little more information to troubleshoot the problem.

#4

clava - February 3, 2008 - 03:51

This is correct. As long as the user decides to have German as his standard language, he is not able to save new values. As soon as he change the language to English, everything work fine.

I will send you a private message with an account to test this behauvior on my testsite.

Thank you in advance

#5

Shawn Conn - February 9, 2008 - 00:56

After reviewing the code I see that I didn't use t() throughly through the module. I've done this throughout the .install & .module file. When the next release is rolled out, you should see these fixes implemented.

#6

Shawn Conn - February 9, 2008 - 01:12
Status:active (needs more info)» fixed

#7

Anonymous (not verified) - February 23, 2008 - 01:21
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.