This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,22 +56,22 @@ locale-specific file to the end of `angular.js` or `angular.min.js` file.
56
56
For example on *nix, to create an angular.js file that contains localization rules for german
57
57
locale, you can do the following:
58
58
59
- `cat angular.js i18n/angular-locale_de-ge .js > angular_de-ge .js`
59
+ `cat angular.js i18n/angular-locale_de-de .js > angular_de-de .js`
60
60
61
- When the application containing `angular_de-ge .js` script instead of the generic angular.js script
61
+ When the application containing `angular_de-de .js` script instead of the generic angular.js script
62
62
starts, Angular is automatically pre-configured with localization rules for the german locale.
63
63
64
64
**2. Including locale js script in index.html page**
65
65
66
66
You can also include the locale specific js file in the index.html page. For example, if one client
67
- requires German locale, you would serve index_de-ge .html which will look something like this:
67
+ requires German locale, you would serve index_de-de .html which will look something like this:
68
68
69
69
<pre>
70
70
<html ng-app>
71
71
<head>
72
72
….
73
73
<script src="angular.js"></script>
74
- <script src="i18n/angular-locale_de-ge .js"></script>
74
+ <script src="i18n/angular-locale_de-de .js"></script>
75
75
….
76
76
</head>
77
77
</html>
You can’t perform that action at this time.
0 commit comments