Skip to content

Commit

Permalink
DOC-1020: copy edits and improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
kemister85 committed Dec 20, 2023
1 parent 23213b8 commit 378f547
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/ROOT/partials/configuration/language_load.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
[[language_load]]
== `+language_load+`

This option configures whether additional plugin or theme languages are loaded when a {productname} editor initialization is executed.
This option determines whether additional plugin or theme languages are loaded during {productname} editor initialization when bundling. The default behavior for plugins that support multiple languages is to automatically load the additional language packs, unless specified otherwise in the configuration.

*Type:* `+boolean+`

*Default value:* `+true+`

* When the `+language_load+` option is set to `+true+`, any available language packs can be loaded and used by {productname} and plugins that support multiple-languages.
* When set to `+false+`, only explicitly configured language packs will load.

[IMPORTANT]
When the `+language_load+` option is set to `true`, the {productname} editor will not automatically load any of the plugin or theme languages during initialization. Instead, it relies on the integrator to manually add their own custom `pot` files to their integration. This gives integrators more control over language file management, but is not recommended.
Setting `+language_load+` option to `+false+` is not recommended unless the integrator has their own custom `pot` files to add to their integration.

=== Example: using `+language_load+`

Expand Down

0 comments on commit 378f547

Please sign in to comment.