How can I translate the strings which come from javascript code? I'm using Finnish with the editor and the translation is good, but when I added the Embed Media plug-in, it's not translated. Can I translate it myself somehow? I know that strings from javascript cannot be translated with Drupal.

Comments

mephir’s picture

Strings from Mediaembed plugin are in ckeditor.pot. You can translate them by Drupal translations.

mErilainen’s picture

Okay, I can see them in the ckeditor.pot file, but how to get them to Drupal's database to translate them with the translation interface? I don't need to import the whole .pot file because the editor works otherwise ok with Finnish. It also seems so that the name of the button is not included in the strings, "Embed Media" is missing.

And where does the editor get all the translations for buttons and dialogs? I've never imported any .po language file related to CKeditor.

wwalc’s picture

We have used Drupal system to translate strings in plugins (one big .po file). CKEditor have it's own translation system which we can also use in plugins (by providing small javascript files for each language), I'm not sure which way is better.

wwalc’s picture

Status: Active » Postponed
dczepierga’s picture

Issue tags: +6.x-2.0

Maybe it will be changed in version 6.x-2.0 of CKEditor module.

jcisio’s picture

Status: Postponed » Closed (duplicate)