Ticket #13122 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

TinyMCE: "Subdued grid" translation in wrong i18n domain

Reported by: ramonski Owned by:
Priority: minor Milestone: 4.x
Component: Internationalization Version: 4.1
Keywords: TinyMCE, i18n Cc:

Description

Issue:

TinyMCE never translates the "Subdued grid" option.

Tested with Plone 4.2.1

Steps to reproduce:

  1. Install a plain Plone 4 site
  2. choose german as default language (others should be affected as well)
  3. click edit at the front page
  4. click the insert table button

I found the translation in:

locales/de/LC_MESSAGES/plone.tinymce.po

The template is located in:

  skins/tinymce/plugins/table/table.htm.pt

It defines the i18n domain tinymce:

 <html xmlns="http://www.w3.org/1999/xhtml" i18n:domain="tinymce">
  [...]
  <option value="plain" selected="selected" i18n:translate="Subdued grid">Subdued grid</option>
  [...]

After I moved the translation to the tinymce.po, it worked and I got the translated version.

NOTE: I had to remove the generated *.mo files first and add this to my zope.conf:

<environment>
  zope_i18n_compile_mo_files true
</environment>

Change History

comment:1 Changed 4 years ago by kleist

  • Status changed from new to confirmed
  • Component changed from Unknown to Internationalization
Note: See TracTickets for help on using tickets.