Opened 13 years ago

Closed 12 years ago

#6262 closed Bug (invalid)

CKFinder: Cannot change language from custom integration

Reported by: Vlad Owned by:
Priority: Normal Milestone:
Component: File Browser Version:
Keywords: CKFinder Cc:


I integrate CKFinder into ckeditor using config URLs like in the custom example.

But the language option gets overriden and I always get 'en'.

Please see attachment.

Attachments (1)

ckeditor.js (1.2 KB) - added by Vlad 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Vlad

Attachment: ckeditor.js added

comment:1 Changed 13 years ago by Frederico Caldeira Knabben

Keywords: CKFinder added

comment:2 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Besides setting language in config.js for CKEditor or in CKEditor configuration object for particular instance, like presented below:

var ckfinder_url = '/public/resources/js';
var options = '&startupPath=Images:/sectiuni/';
var ed = CKEDITOR.replace(this, {
                language : fr,
	        filebrowserBrowseUrl : ckfinder_url+'/ckfinder/ckfinder.html'+options,
	        filebrowserImageBrowseUrl : ckfinder_url+'/ckfinder/ckfinder.html?type=Images'+options,
	        filebrowserFlashBrowseUrl : ckfinder_url+'/ckfinder/ckfinder.html?type=Flash'+options,
	        filebrowserUploadUrl : ckfinder_url+'/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'+options,
	        filebrowserImageUploadUrl : ckfinder_url+'/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'+options,
	        filebrowserFlashUploadUrl : ckfinder_url+'/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'+options

It is also possible to attach langCode parameter to URL.

The only problem in this case is that CKFinder has no transaltion file for Romanian language. If you open lang folder of CKFinder you will see that there is no ro.js file available.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy