2016-12-30, 02:35:52
There seems to be a bug in CKEDITOR that hardcodes only the languages included in the bundler.
It adds this to the end of the ckeditor.js source, which overrides the previous one that defines them all.
CKEDITOR.lang.languages={"de":1,"en":1,"es":1,"fr":1,"it":1,"nl":1,"pl":1,"pt":1,"ru":1,"sv":1};}());
so even adding a lang won't work.
also even if you override this with a
It still wont work because it will throw errors on the missing languages in some of the plugins.
you will have to goto ckeditor builder
click upload build config
then add your languages to the config we use, then download optimized version and extract over the ckeditor folder in GS
this way you get ALL the cs.js in all folders
It adds this to the end of the ckeditor.js source, which overrides the previous one that defines them all.
CKEDITOR.lang.languages={"de":1,"en":1,"es":1,"fr":1,"it":1,"nl":1,"pl":1,"pt":1,"ru":1,"sv":1};}());
so even adding a lang won't work.
also even if you override this with a
CKEDITOR.lang.languages['cs'] = 1;
It still wont work because it will throw errors on the missing languages in some of the plugins.
you will have to goto ckeditor builder
click upload build config
then add your languages to the config we use, then download optimized version and extract over the ckeditor folder in GS
this way you get ALL the cs.js in all folders