Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] YUI (text editor) internationalization support

Expand Messages
  • Lakers
    Thanks a lot!
    Message 1 of 5 , May 2, 2008
    • 0 Attachment
      Thanks a lot!

      On 5/3/08, Dav Glass <dav.glass@...> wrote:

      Derek --

      SimpleEditor is easier to internationalize since it has less strings to change ;)

      By default when you enter a < in the editor it's converted to a &lt; by the browser..

      I have to note, that you should never "trust" the content of the editor. You should always filter it on the server side..

      See this set of articles:
      http://developer.yahoo.com/security/

      Hope that helps ;)
      Dav

      Dav Glass
      dav.glass@...
      blog.davglass.com

      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +

      ----- Original Message ----
      From: Lakers <javaworld@...>
      To: ydn-javascript@yahoogroups.com

      Sent: Friday, May 2, 2008 6:11:01 PM
      Subject: Re: [ydn-javascript] YUI (text editor) internationalization support

      Thanks a lot Dav. Sounds like I need to do some localization work myself.

      Very interesting, I was watching your video online yesterday. Great work.

      All I need out of the editor is pretty simple:
      * bold
      * add image support
      * add link (url) support
      * text color (optional)

      No need for fancy keyboard shortcut. Do you think simple text editor can get the job done?

      Another question, actually another topic is that is there a way to stop user to manually enter HTML/javascript in the text editor? If we allow that, they may enter some very bad things into our system. I guess your editor is able to convert special character, e.g. < > &, is that good enough for security concern?

      thanks,
      -Derek

      On 5/3/08, Dav Glass <dav.glass@...> wrote:
      Derek --

      It is possible to achieve "partial" internationalization of the RTE.

      Most of the strings in the editor are in variables with the prefix of STR_, you can search them here:
      http://developer.yahoo.com/yui/docs/module_editor.html

      We also include the Photoshop file for the icons under the Skinning section of the Editor landing page:
      http://developer.yahoo.com/yui/editor/#skinning

      The things that are currently an issue with localizing the Editor are the keyboard shortcuts, they do not translate well..

      Does that help?
      Dav

      Dav Glass
      dav.glass@...
      blog.davglass.com

      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +

      ----- Original Message ----
      From: Lakers <javaworld@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Friday, May 2, 2008 8:23:01 AM
      Subject: [ydn-javascript] YUI (text editor) internationalization support

      Hi,

      Try to add text editor function to my website. YUI is clearly one of the better options. One thing I am not clear is about internationalization support. Does YUI especially the text editor support foreign language, e.g. Chinese characters, out of the box? Searched on FAQ and this mailing list, did not find any answer.

      For my users who do not speak English, a text editor in English will not be working for them.

      Please help

      thanks!
      Derek


    Your message has been successfully submitted and would be delivered to recipients shortly.