#7950 closed defect (bug) (fixed)
no buttons on tinymce when using translations for the dashboard and plugin's added buttons
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.7 | Priority: | high |
| Severity: | normal | Version: | 2.7 |
| Component: | TinyMCE | Keywords: | reporter-feedback |
| Focuses: | Cc: |
Description
When using any translation for the WP dashboard setting the WPLANG variable in wp-config.php
If you activate any plugin that adds buttons to tinymce, visual editor doesnt work.
All buttons are removed and the editor forced in html mode (but no buttons at all).
Simply removing the .mo file (or removing the WPLANG variable), and tinymce works fine even with the plugin's added buttons.
Change History (6)
#2
@
18 years ago
- Keywords reporter-feedback added; tinymce i8n removed
Can't reproduce this. Sounds like the .mo file or one of the plugins' translations files is corrupted. Perhaps try replacing the files and also test with different language/locale. If still fails, can you post the first js error.
#3
@
18 years ago
I found that even removing the .mo file from /wp-content/languages the error is still present.
The buttons only appear when I removed the WPLANG variable from wp-config.php, so having:
define ('WPLANG', 'es_ES'); --> in config, the buttons fails even when no es_ES.mo file is present in /wp-content/languages
while setting:
define ('WPLANG', ); --> the buttons appears.
I tried with many files from http://svn.automattic.com/wordpress-i18n/ and the same problem with all of them.
In the page source code, I found a message error (present even when buttons works) just right after closing script tag for calling to /wp-includes/js/jquery/ui.tabs.js?ver=1.5.2 that says:
/* <![CDATA[ */
wpAjax = {
noPerm: "You do not have permission to do that.",
broken: "An unidentified error has occurred."
}
/* ]]> */
I'm using an admin user... :?
#4
@
17 years ago
- Owner changed from anonymous to westi
- Status changed from new to assigned
Reproduced this using cforms + welsh core translation file
#5
@
17 years ago
Get a 404 for this file:
http://worpress.example.com/wp-content/plugins/cforms/js/langs/cy.js?ver=20080930
So it looks like it's a cforms bug not a WordPress one.
Please report it there.
Some examples of plugins you can use to recreate this issue:
Cforms,
Viper's Video Quicktags