File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,19 @@ title: requirejs-dplugins/i18n
9
9
localized string.
10
10
11
11
##### Table of Contents
12
+ [ Differences with requirejs i18n] ( #differences-with-requirejs-i18n )
12
13
[ Creating an i18n bundle] ( #creating-an-i18n-bundle )
13
14
[ Using an i18n bundle] ( #using-an-i18n-bundle )
14
15
[ Building i18n bundles] ( #building-i18n-bundles )
15
16
17
+ ## Differences with requirejs i18n
18
+
19
+ This plugin changes the way i18n bundles are built. While requirejs i18n adds bundles of a specified locale to the layer,
20
+ ` requirejs-dplugins/i18n ` will create specific nls layers for each locale specified in the ` localesList ` option. The
21
+ plugin will then load the appropriate nls layer depending on the user locale.
22
+
23
+
24
+
16
25
## Creating an i18n bundle
17
26
18
27
Assume a ` my ` package, containing a ` lamp ` module. This module provides a string representing the color of the lamp.
You can’t perform that action at this time.
0 commit comments