Set the language of the CKEDITOR5 elements based on the page locale.

This commit is contained in:
Jan Böhmer 2022-07-26 01:43:30 +02:00
parent 63b7e0458c
commit b18284cfd7
3 changed files with 19 additions and 7 deletions

View file

@ -131,7 +131,8 @@ Encore
// See https://ckeditor.com/docs/ckeditor5/latest/features/ui-language.html
language: 'en',
addMainLanguageTranslationsToAllAssets: true,
additionalLanguages: 'all'
additionalLanguages: 'all',
outputDirectory: 'ckeditor_translations'
} ) )
// Use raw-loader for CKEditor 5 SVG files.