0
http://docs.ckeditor.com/#!/api/CKEDITOR.configCKEditorバージョンの言語がlanaguageが空の場合、CKEditorバージョンは、デフォルトの言語が持っている言語を示すだろう、
間違った「ユーザーの言語」を取得します。しかし、私のアプリケーションは英語を表示します。
マイコード:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'Custom',
'toolbar_Custom': [
[ 'Bold', 'Italic', 'Underline', 'Strike' ],
[ 'NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
[ 'Table', 'HorizontalRule', 'Smiley'],
[ 'Format', 'Font', 'FontSize' ],
[ 'TextColor', 'BGColor' ],
],
'width' : '100%',
'defaultLanguage' : 'ko',
'language' : '',
}
}
私は何をすべき?
ありがとうございます!私の問題を解決するのに役立ちます。同じ問題を抱えている他の人にとっては、このコードは 'をdjango.utils.translation import ugettext_lazyから_' に追加する必要があります。その後、それは完全に動作します! –