#4080 closed defect (bug) (invalid)
tinymce fails loading language file
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | 2.1.2 |
Component: | TinyMCE | Keywords: | tinymce language locale |
Focuses: | Cc: |
Description
I ran into the problem, that custom language files for the embedded tinymce weren't recognized.
for example:
with $WPLANG=de_DE
file
wp-includes/js/tinymce/langs/de_DE.js
doesn't gets loaded.
(this worked with 2.0.7) I've fixed this with the appended patch.
Attachments (1)
Change History (5)
#1
follow-up:
↓ 2
@
18 years ago
The language has to be passed to tinymce via the language arg when tiny_mce_gzip.php is loaded. It does not use the global locale. What language is being passed to tiny_mce?
#2
in reply to:
↑ 1
@
18 years ago
Replying to ryan:
The language has to be passed to tinymce via the language arg when tiny_mce_gzip.php is loaded. It does not use the global locale. What language is being passed to tiny_mce?
hmm, thought $language is taken from global space defined somewhere and not passed.
nethertheless, I did some more debugging take a look
[04-04-2007 09:46] LANGUAGE: de_de
[04-04-2007 09:46] LOCALE: de_DE
yes and linux is case-sensitive so this works on Windows. On linux one has
to rename all translation files to lower case? How should I go on?
patch for bug