Fork me on GitHub

Rapport de message :*
 

Re: tinymce en français ?

Titre du sujet : Re: tinymce en français ?
par petitours sur 18/03/2014 10:26:17

Re

Rien y fait, j'ai retenté à l'instant en modifiant la ligne 37 de settings
<?php
/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code
 which is considered copyrighted (c) material of the original comment or credit authors.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
 *  TinyMCE 4.x settings for XOOPS
 *
 * @copyright       The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license         http://www.fsf.org/copyleft/gpl.html& ...  public license
 * @package         class
 * @subpackage      editor
 * @since           2.3.0
 * @author          Taiwen Jiang <phppp@users.sourceforge.net>
 * @author          Lucio Rota <lucio.rota@gmail.com>
 * @author          Laurent JEN <dugris@frxoops.org>
 * @version         $Id: settings.php 8290 2011-11-15 01:57:18Z beckmi $
 */
return array(
    
"selector" => "textarea",
    
"theme"     => "modern",

// default skin 
// "skin"         => "lightgray",
// "skin_url"         => "/class/xoopseditor/tinymce4/external_skins/charcoal",
// "skin_url"         => "/class/xoopseditor/tinymce4/external_skins/pepper-grinder",
// "skin_url"         => "/class/xoopseditor/tinymce4/external_skins/tundora",
// "skin_url"         => "/class/xoopseditor/tinymce4/external_skins/tundora",
// "skin_url"         => "/class/xoopseditor/tinymce4/external_skins/xenmce",


    // language code of the default language pack to use with TinyMCE. These codes are in ISO-639-1 format
    
"language" => "fr_FR",
    
/* possible values exemple, get from: http://wiki.moxiecode.com/examples/ti ... tion_example_13.php */
    
"mode" => "exact",
//    "convert_urls" => false,
//    "force_p_newlines" => true,
    
"forced_root_block" => false,
    
"force_hex_style_colors" => true,
    
// to prevent new line after tags (really useful with Xoops)
//    "apply_source_formatting" => false,
    // get more W3C compatible code, since font elements are deprecated
    
"convert_fonts_to_spans" => true,
    
// XHTML: list elements UL/OL will be converted to valid XHTML
    
"fix_list_elements" => true,
    
// XHTML: table elements will be moved outside paragraphs or other block elements
//    "fix_table_elements" => true, //Removed in 3.4, this is now the default behavior.
    // XHTML strict: attributes gets converted into CSS style attribute
//    "inline_styles" => true, //This option is enabled by default as of 3.0a1.
    // if true, some accessibility focus will be available to all buttons: you will be able to tab through them all
    
"accessibility_focus" => true,
    
// if true, some accessibility warnings will be presented to the user
    
"accessibility_warnings" => true,
    
//image_advtab: True/false option if the advanced tab should be displayed or not.
    
"image_advtab" => true,

    
// Display or not the menu bar"
    
"menubar" => true,
en réinstallant le module système après et...rien
dans la gestion des blocs et dans publisher je n'ai plus d'éditeur.

Le fichier de langue qui avait résolu le problème doit contenir quoi ?
Le fichier french.php que j'ai dans le répertoire langages de tinyMCE4 ne contient pas de traduction, juste 2 ou 3 define, comme le fichier english.php.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

80 Personne(s) en ligne (66 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 80 | Plus ...