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:


Oddly in base64 mode it looks like gibberish:


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