11548 sujets

JavaScript, DOM et API Web HTML5

Bonjour, je cherche qu'elle est la manipulation à faire pour traduire l'éditeur de texte tinymce en français,

j'ai trouvé les languages packs voir ici

mais étant donné mon niveau d'anglais Smiley confused , je ne comprends pas bien ce que je dois faire après... Est-ce qu'une bonne ame aurait le temps de m'aider svp?

merci
Modifié par chromatik (15 Jun 2009 - 13:54)
C'est pourtant pas bien difficile :
a écrit :
Unzip the contents in the root folder of TinyMCE.
Il suffit de dézipper le fichier télécharger dans le dossier racine de tinyMCE.




HS : Nos profs nous le disaient : "L'anglais c'est important".
^^ hihi ça j'avais bien compris, mais à l'apparence ça ne suffit pas, rien ne change tout reste en anglais.

Dans le dossier "examples", il y a un fichier "translate.html" qui contient ce texte.

Translation

This page enables you to translate TinyMCE by using XML files.

Steps to translate:

1. Download one of the language XML files from the TinyMCE site.
2. Place it in /jscripts/tiny_mce/langs directory, for example /jscripts/tiny_mce/langs/sv.xml.
3. Change the language init option in this file to match the XML file code. For example: sv
4. TinyMCE will now use the XML file instead of the .js versions.
5. Modify the XML file until everything is translated
6. Modify the author information, this is optional.
7. Upload the XML file to the TinyMCE site to share it with others.
8. You can now download the .js versions of the language pack from the TinyMCE site.

et là je m'y perds...
chromatik a écrit :
et là je m'y perds...

Ce sont des instructions pour réaliser une traduction (translate = traduire). Pas pour installer une traduction déjà créée.
...j'ai trouvé la réponse au problème, il fallait indiquer

language : "fr", dans la partie du code tinyMCE.init