Skip to content

Add CiviCRM language support

bgm requested to merge locale into master

Adds language support to ckeditor5.

A few disclaimers:

  • This only works in upload/elfinder mode (see below screenshots in "base64" mode)
  • The way I copy-pasted the editor config is not ideal
  • It's not perfect because it does not support pt_BR, sr-latin and zn-cn, but that can be fixed later.

Here is what it looks like in elfinder mode:

ckeditor5-lang-elfinder-mode-2020-09-30_10-41

Oddly in base64 mode it looks like gibberish:

ckeditor5-lang-base64mode-2020-09-30_10-41

CkEditor has its own way of handling translation and I'm not sure if it's because the JS translation files were generated in a certain way and maybe need recompiling.

Merge request reports

Loading