@doenet/doenetml-iframe 0.7.21-dev.406 → 0.7.21-dev.409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/index.js +398 -29
- package/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -196,10 +196,12 @@ differ — a Spanish-speaking student may work a French physics problem.
|
|
|
196
196
|
- `uiLocale` — BCP-47 tag for the chrome's language. Defaults to following
|
|
197
197
|
`documentLocale`, so a fully Spanish activity is fully Spanish without the
|
|
198
198
|
host configuring anything.
|
|
199
|
-
- `localeResources` — FTL message catalogs keyed by locale, for
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
- `localeResources` — FTL message catalogs keyed by locale, for a host with
|
|
200
|
+
translations of its own. English and Spanish are bundled and every other
|
|
201
|
+
language is fetched from the `locales/` directory published beside the
|
|
202
|
+
standalone bundle the iframe loads, so a host needing only the shipped
|
|
203
|
+
translations passes nothing; a catalog supplied here wins over either, which
|
|
204
|
+
is how a deployment corrects a translation.
|
|
203
205
|
|
|
204
206
|
The rendered container always carries a `lang` attribute naming the language
|
|
205
207
|
the content was rendered in, so screen readers pronounce it with the right
|