You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/8.0-release-notes.adoc
+61-1Lines changed: 61 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
= {productname}{release-version}
3
2
:release-version: 8.0.0
4
3
:navtitle: {productname} {release-version}
@@ -59,6 +58,67 @@ The following premium plugin updates were released alongside {productname} {rele
59
58
60
59
// For information on the **<Premium plugin name 1>** plugin, see: xref:<plugincode>.adoc[<Premium plugin name 1>].
61
60
61
+
=== Spell Checker
62
+
63
+
The {productname} {release-version} includes an accompanying release of the **Spell Checker** premium plugin.
64
+
65
+
**Spell Checker** includes the following improvement.
66
+
67
+
=== Language code standardization to RFC5646/BCP47 format
68
+
69
+
The {productname} {release-version} release introduces standardized support for language codes using the RFC5646 (also known as BCP47) format. This update applies to all language-related configurations, including:
70
+
71
+
* UI language packs (premium and community)
72
+
* Spellchecker language codes
73
+
* HTML `lang` attributes
74
+
* Content language selection
75
+
76
+
**Changes**
77
+
78
+
* Language codes now use hyphens (`-`) instead of underscores (`_`). For example:
79
+
** `'en-US'` instead of `'en_US'`
80
+
** `'zh-TW'` instead of `'zh_TW'`
81
+
** `'pt-BR'` instead of `'pt_BR'`
82
+
* Base language codes without regions (e.g., `'en'`, `'es'`, `'fr'`) remain unchanged.
83
+
* File names for language packs have been updated to use hyphens.
84
+
* Premium plugins have been updated to recognize RFC5646-compliant codes.
85
+
86
+
**Backward Compatibility**
87
+
88
+
To ensure a smooth migration
89
+
90
+
* Both hyphenated and underscore formats are supported in {productname} {release-version}.
91
+
* A console warning is displayed when the legacy underscore format is used.
92
+
* Both formats of language pack files are distributed with {productname} {release-version}.
93
+
* {productname} 9 will support only the RFC5646-compliant hyphenated format.
94
+
95
+
**Migration**
96
+
97
+
. Update language-related configuration in `tinymce.init`:
98
+
+
99
+
[source,javascript]
100
+
----
101
+
language: 'en-US',
102
+
spellchecker_language: 'en-US'
103
+
----
104
+
+
105
+
. Update `content_langs` configuration:
106
+
+
107
+
[source,javascript]
108
+
----
109
+
content_langs: [
110
+
{ title: 'English (US)', code: 'en-US' },
111
+
{ title: 'Portuguese (Brazil)', code: 'pt-BR' }
112
+
]
113
+
----
114
+
+
115
+
. Rename any custom dictionary files to use hyphens (e.g., `'en-GB.txt'` instead of `'en_GB.txt'`).
116
+
. Ensure any server-side integrations or custom language pack files follow the new naming convention.
117
+
118
+
This standardization aligns {productname} with modern web standards and improves consistency across its multilingual features.
119
+
120
+
For information on the **Spell Checker** premium plugin, see: xref:introduction-to-tiny-spellchecker.adoc[Spell Checker plugin] or for an complete list of supported languages, see: xref:introduction-to-tiny-spellchecker.adoc#supported-languages[Supported languages].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/custom-dictionaries-for-tiny-spellchecker.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
One custom dictionary can be created for each language already supported by the spell checker (see xref:introduction-to-tiny-spellchecker.adoc#supported-languages[supported languages]) or any arbitrary language added by additional Hunspell dictionary files included in Hunspell Dictionary Path (See xref:self-hosting-hunspell.adoc[Add Hunspell dictionaries to Spell Checker]). It's also possible to define an additional "global" dictionary that contains words that are valid across all languages, such as trademarks.
9
9
10
-
A custom dictionary file for a particular language must be named with the language code of the language (see xref:introduction-to-tiny-spellchecker.adoc#supported-languages[supported languages] for language code examples), plus the suffix `+.txt+`: E.g. `+en.txt+`, `+en_gb.txt+`, `+fr.txt+`, `+de.txt+` etc.
10
+
A custom dictionary file for a particular language must be named with the language code of the language (see xref:introduction-to-tiny-spellchecker.adoc#supported-languages[supported languages] for language code examples), plus the suffix `+.txt+`: E.g. `+en.txt+`, `+en-GB.txt+`, `+fr.txt+`, `+de.txt+` etc.
11
11
12
12
The "global" dictionary file for language-independent words must be called "global.txt".
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/language.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,20 @@ For information on:
19
19
20
20
=== Example: using `+language+`
21
21
22
-
In this example we will set the editor language to Swedish.
22
+
In this example we will set the editor language to Swedish using the RFC5646 format:
23
23
24
24
[source,js]
25
25
----
26
26
tinymce.init({
27
27
selector: 'textarea', // change this value according to your HTML
28
-
language: 'sv_SE'
28
+
language: 'sv-SE'
29
29
});
30
30
----
31
31
32
32
[[using-the-premium-language-packs]]
33
33
=== Using the premium language packs
34
34
35
-
The following professionally localized language packs are provided to paid {cloudname} and premium self-hosted deployments. To use these language packs, set the `+language+` option to the corresponding language code. No additional configuration is required.
35
+
The following professionally localized language packs are provided to paid {cloudname} and premium self-hosted deployments. To use these language packs, set the `+language+` option to the corresponding language code in RFC5646 format. No additional configuration is required.
spelling-tiny-1 | 2025-02-11 09:51:11.161Z [io-compute-blocker-6] INFO com.ephox.nectar.data.Bees$ - Loading all dictionaries from WinterTree
176
176
spelling-tiny-1 | 2025-02-11 09:51:11.482Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Loading hunspell dictionary from path: /app/resources/hunspell-dictionaries and locale es
177
177
spelling-tiny-1 | 2025-02-11 09:51:11.536Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Finished loading hunspell for es
178
-
spelling-tiny-1 | 2025-02-11 09:51:11.537Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Loading hunspell dictionary from path: /app/resources/hunspell-dictionaries and locale pt_BR
179
-
spelling-tiny-1 | 2025-02-11 09:51:11.881Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Finished loading hunspell for pt_BR
178
+
spelling-tiny-1 | 2025-02-11 09:51:11.537Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Loading hunspell dictionary from path: /app/resources/hunspell-dictionaries and locale pt-BR
179
+
spelling-tiny-1 | 2025-02-11 09:51:11.881Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Finished loading hunspell for pt-BR
180
180
...
181
-
spelling-tiny-1 | 2025-02-11 09:51:13.593Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Loading hunspell dictionary from path: /app/resources/hunspell-dictionaries and locale de_DE
182
-
spelling-tiny-1 | 2025-02-11 09:51:13.651Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Finished loading hunspell for de_DE
181
+
spelling-tiny-1 | 2025-02-11 09:51:13.593Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Loading hunspell dictionary from path: /app/resources/hunspell-dictionaries and locale de-DE
182
+
spelling-tiny-1 | 2025-02-11 09:51:13.651Z [io-compute-blocker-5] INFO c.e.nectar.hunspell.HunspellLoader$ - Finished loading hunspell for de-DE
183
183
spelling-tiny-1 | 2025-02-11 09:51:14.142Z [io-compute-9] INFO o.h.b.c.nio1.NIO1SocketServerGroup - Service bound to address /0:0:0:0:0:0:0:0:18080
184
184
spelling-tiny-1 | 2025-02-11 09:51:14.146Z [io-compute-9] INFO o.h.blaze.server.BlazeServerBuilder -
185
185
spelling-tiny-1 | _ _ _ _ _
@@ -215,7 +215,7 @@ To confirm that a request is being sent to the {pluginname} service, use:
0 commit comments