Opened 12 years ago

Closed 12 years ago

#1369 closed defect (fixed)

Missing translation = error in javascript

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Internationalization Version: trunk
Severity: normal Keywords:



I'm using xinha with the plugin SmartReplace?, the problem is: if the current translation doesn't exist for this plugin, a javascript error is display!

Attachments (2)

xinha-smartreplace.jpg (10.2 KB) - added by guest 12 years ago.
fr.js.tar.gz (379 bytes) - added by guest 12 years ago.
french translation of smartreplace

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by nicholasbs

I'm unable to reproduce this bug. I've tried setting my language to Italian (which SmartReplace? doesn't have a translation for) and other languages, and SmartReplace? continues to work without showing any JavaScript errors. I've tested this on both IE7 and FF3.

What browser and version of Xinha are you using, and what is the exact error that you're seeing? This information will help in reproducing the bug.

Are you referring to the 404 message shown in Firebug?

comment:2 Changed 12 years ago by guest

I'm using FF3.

Release: Trunk (Do, 01 Mai 2008 14:33:36 +0200)
Revision: 999
Last Changed By: ray

I attach the javascript error, xinha is integrated into a wysiwyg editor module for zikula (a framework).

Changed 12 years ago by guest

comment:3 Changed 12 years ago by nicholasbs

I just checked out version 999, set my language to French, and still didn't see the error with SmartReplace? turned on. (I did notice that the list of plugins in the default XinhaConfig.js was screwy and changed it so only SmartReplace? was on, though I didn't see the error in either case). I too am using FF3.

Does the error show up when you load Xinha, or only when you open the SmartReplace? dialog?

I'll be on the Xinha IRC channel (#xinha) for the next little bit if you want to stop by and talk about this in real-time.

comment:4 Changed 12 years ago by guest

The error show up when I load Xinha. I'll ask the person who wrote the wysiwyg to read this ticket.

comment:5 Changed 12 years ago by ray

  • Resolution set to invalid
  • Status changed from new to closed

I have looked in XinhaCore?.js why and when this error message is thrown, and it is only when a language file exists, but is faulty. So my guess is your programmer has created a translation, but the format is not right.

By the way, if you can correct the error, you can do the community a favour and share the translation

comment:6 Changed 12 years ago by guest

  • Resolution invalid deleted
  • Status changed from closed to reopened

attached translation

Changed 12 years ago by guest

french translation of smartreplace

comment:7 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from reopened to closed

rev [1159]: added. Thank you very much

Note: See TracTickets for help on using tickets.