We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18878
    • 210 Posts
    Quote from: Bravado at Nov 11, 2007, 04:49 PM

    Alright...so here’s the problem...

    This is more of an issue with TinyMCE than anything else. I would highly recommend that you take a little time and go over to the MoxieCode site (http://tinymce.moxiecode.com/) and let them know that there are some issues with the Spanish language files. Might be a good time to find out who is responsible for the Spanish language files and perhaps offer up some help on keeping them up to date with the latest translations.

    To fix the current issue with the language files associated with the color picker, the language files for the Style plugin will need to be updated. Look under the /jscripts/tiny_mce/plugins/style/langs directory and do a comparison between the en.js and es.js files. There’s about 4 or 5 variables that are missing from the es.js file that need to be added and translated. That should do the trick. smiley

    Jeff

    Jeff,

    Thanks a lot for your help. Your suggestion didn’t work for me, but it gave me hints to follow the correct path to solve it.

    Well, this didn’t work: I modified the es.js file located here: /jscripts/tiny_mce/plugins/style/langs. I inserted the missing variables from file en.js. I tested it and nothing.

    But this solved the problem: I modified the es.js file located here: jscripts\tiny_mce\themes\advanced\langs\. I compared contents with file en.js (located in the same folder) and noticed the following lines were missing at the end:

    invalid_data : ’Error: Invalid values entered, these are marked in red.’,
    more_colors : ’More colors’,
    color_picker_tab : ’Picker’,
    color_picker : ’Color picker’,
    web_colors_tab : ’Palette’,
    web_colors : ’Palette colors’,
    named_colors_tab : ’Named’,
    named_colors : ’Named colors’,
    color : ’Color:’,
    color_name : ’Name:’,
    is_email : ’The URL you entered seems to be an email address, do you want to add the required mailto: prefix?’,
    is_external : ’The URL you entered seems to external link, do you want to add the required http:// prefix?’

    so I translated the text and inserted it at the end of file es.js :

    invalid_data : ’Error: Los valores ingresados no son validos, y estan marcados en rojo.’,
    more_colors : ’Mas Colores’,
    color_picker_tab : ’Picker’,
    color_picker : ’Seleccionador de Color’,
    web_colors_tab : ’Paleta’,
    web_colors : ’Colores de la Paleta’,
    named_colors_tab : ’Nombrados’,
    named_colors : ’Colores Nombrados’,
    color : ’Color:’,
    color_name : ’Nombre:’,
    is_email : ’El URL ingresado parece ser una direccion de email, desea adicionar el prefijo requerdo mailto: ?’,
    is_external : ’El URL ingresado parece ser un link externo, desea adicionar el prefijo requerido http:// ?’



    And it worked!!

    (don’t forget to place a comma at the end of the previous line (the one that starts with toolbar_focus...)

    Thanks again!

    Mc
      • 25883
      • 128 Posts
      Hello:

      Newbie question.

      Where did you get the color picker? I only see one thread about this.

      On my standard TinyMCE install, there is no color picker, no font face/ or font size selector.

      How is it possible to set this up?
        • 18878
        • 210 Posts
        Quote from: s9 at Oct 10, 2008, 11:58 AM

        Hello:

        Newbie question.

        Where did you get the color picker? I only see one thread about this.

        On my standard TinyMCE install, there is no color picker, no font face/ or font size selector.

        How is it possible to set this up?

        Hi smiley,

        Well, it might be out of topic but I think this is what you need:

        Log into the manager, and go to Tools => Configuration => Interface & Features.
        Scroll down to TinyMCE Settings. There you can change / add plugins buttons. I have mine set like this:
        Theme: Custom
        Custom PLugins: style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media,table
        Custom Buttons:
        Row1: undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help
        Row2: bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,table,forecolor,backcolor,styleprops
        Row3:
        styleselect,formatselect,fontselect,fontsizeselect

        Hope it helps.

        Mc
          • 25883
          • 128 Posts
          Thanks very much for the response.

          The buttons show up as expected, but when I save the content, the fontcolor, fontface, etc. doesn’t stick.  It reverts to standard styled text in the RTE editor window and on the resulting page.

          Are there possibly any plugins I need to install, or change needed in the TinyMCE plugin configuration area, or any other ideas why this problem might be?


          EDIT:

          Interestingly the changed text DOES show on the resulting page now and in the HTML view of the RTE editor.
          But does not display in the RTE editor -- it displays as standard text. 


          Mc, Let me know if you have any thoughts about that, or otherwise I might start a new thread so it can be solved perhaps.  Thanks!!

            • 18878
            • 210 Posts
            Not really sure, but I think I saw such behaviour in TinyMCE version 2 and older. I have V. 3101 and had no problems so far. Perhaps it’s a good idea to start a new thread. smiley

            Mc