P
P
Pavel2015-04-05 14:30:59
Drupal
Pavel, 2015-04-05 14:30:59

How to change language of ckeditor module in drupal 7 by state change in select?

In general, the situation is this, when adding content, the Ckeditor module is used, now the task has arisen to be able to change the language of the panel, depending on the selection in the value in the select. The select structure looks like this:

<select>
<option value="af">Afganistan</option>
<option value="sq">Arabic</option>
<option value="ru">Russia</option>
и т.д.
</select>

The value is the language code for the editor. This setting is present in the ckeditor settings for any of the text formats in Drupal.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vistar, 2015-04-09
@vistar

This setting is present in the user's profile: /user/*/edit in the fieldset called "Advanced text editor settings" can you peep there?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question