[wp-polyglots] TinyMCE in trunk pot file
Andrew Ozz
admin at laptoptips.ca
Tue Feb 12 08:59:40 GMT 2008
Francesc Hervada-Sala wrote:
> Hello,
>
> I've translated the trunk pot file and tested it with the trunk WP. Though the
> whole page and the help text is translated, the tiny editor self is not: the
> tooltips and menu options appear without my translation and the word "path"
> below too. I expected this would be translated, too. Did I expect too much?
Hi,
It all should have been translated. There may be several reasons for that:
1. If you are using the latest "bleeding" version of WordPress, it has a
new compressor for TinyMCE that caches the zipped file on disk for
faster loading. Connect to the server with ftp and go to
/wp-includes/js/tinymce directory. Look for a file named "tiny_mce_[....
veeery long number....].gz". If it's there, delete it. It will be
recreated next time TMCE loads (be careful not to delete any other file
or you will have to upload it again from WordPress' installation package).
2. All browsers just love to cache JavaScript (that's a good thing but
not when testing). Start your browser but don't go to the admin pages
yet. First delete the browser's cache. In IE6 go to Tools -> Internet
Options -> look for a button "Delete Files" -> click "Delete all..." +
OK. In IE 7 and Firefox go to Tools -> Clear private data -> uncheck all
options except the cache and click OK.
3. Now go to the New Post or Edit Post page, wait for it to fully load,
hold down CTRL in IE6/7 or Shift in Firefox and click on "Reload/Refresh".
If still the English strings show up, it will need fixing. If you have
Firefox + Firebug, have a look in "DOM -> tinyMCE -> i18n". On the left
are the strings placeholders. They should start with the first 2 letters
from your locale, "de" for German, "fr" for French, etc.
All the best,
Andrew
More information about the wp-polyglots
mailing list