Skip to content

Commit 6274c6d

Browse files
committed
Enable TinyMCE Localisation
`app/assets/javascripts/langs/fr_FR.js` was downloaded from https://www.tiny.cloud/get-tiny/language-packages/
1 parent a96bc6e commit 6274c6d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/assets/javascripts/langs/fr_FR.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/javascript/src/utils/tinymce.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const defaultOptions = {
5353
// is not supported, see issue https://github.com/tinymce/tinymce/issues/358
5454
skin_url: '/tinymce/skins/oxide',
5555
content_css: ['/tinymce/tinymce.css'],
56+
...(window.i18nLocale === 'fr-CA' && { language: 'fr_FR' }) // handles language switching for DMP Assistant
5657
};
5758

5859
/*

0 commit comments

Comments
 (0)