I've verified that the chatbox module don't work with a localization other than english.
Popup window don't open and shows a 'page not found' error
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | chatbox-localization.patch | 804 bytes | darren oh |
I've verified that the chatbox module don't work with a localization other than english.
Popup window don't open and shows a 'page not found' error
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | chatbox-localization.patch | 804 bytes | darren oh |
Comments
Comment #1
administrador@fidp.net commentedI've found what's the problem, but I don't know why happens...
When entering the translation of the string
to any languaje, the substring
is deleted...
Anybody knows what's happening?
TIA
Comment #2
adixon commentedI don't know why it's doing that, but you probably shouldn't be trying to translate the word 'javascript' anyway. If you use the fancy paramaterized version of the t() function, then it won't mangle it (I'd hope ..).
e.g. replace
with
I haven't tested the above (so there might be some syntax errors), but it gives you an idea how to use the t() function in a way that makes translation more straightforward and hopefully solve your problem.
Comment #3
adixon commentedokay, i should have read the documentation here:
http://api.drupal.org/api/HEAD/function/t
so the 'right' way is:
which is shorter, easier to read and fixes my typo.
Comment #4
darren ohHere is a patch to test.
Comment #5
darren ohCommitted to DRUPAL-4-7 and HEAD.
Comment #6
(not verified) commented