Opened 15 years ago
Closed 14 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: |
Description
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)
Change History (3)
Changed 15 years ago by
| Attachment: | ckeditor.js added |
|---|
comment:1 Changed 15 years ago by
| Keywords: | CKFinder added |
|---|
comment:2 Changed 14 years ago by
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |

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.