@rxap/ngx-localize 19.1.1-dev.2 → 19.1.1-dev.3
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/CHANGELOG.md +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/injectables/LanguageSelectorService.html +7 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +31 -31
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/I18nService.html +3 -3
- package/docs/html/classes/LanguageSelectorService.html +4 -4
- package/docs/html/functions/LanguageInterceptor.html +2 -2
- package/docs/html/functions/defaultLoadModule.html +2 -2
- package/docs/html/functions/loadI18nBootstrapHook.html +1 -1
- package/docs/html/functions/loadLanguages.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/FetchTranslationsFunction.html +1 -1
- package/docs/html/types/LoadModuleFunction.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/I18nService.md +5 -5
- package/docs/markdown/classes/LanguageSelectorService.md +7 -7
- package/docs/markdown/functions/LanguageInterceptor.md +2 -2
- package/docs/markdown/functions/defaultLoadModule.md +2 -2
- package/docs/markdown/functions/loadI18nBootstrapHook.md +2 -2
- package/docs/markdown/functions/loadLanguages.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/FetchTranslationsFunction.md +2 -2
- package/docs/markdown/type-aliases/LoadModuleFunction.md +2 -2
- package/docs/wiki/Class.I18nService.md +4 -4
- package/docs/wiki/Class.LanguageSelectorService.md +6 -6
- package/docs/wiki/Function.LanguageInterceptor.md +1 -1
- package/docs/wiki/Function.defaultLoadModule.md +1 -1
- package/docs/wiki/Function.loadI18nBootstrapHook.md +1 -1
- package/docs/wiki/Function.loadLanguages.md +1 -1
- package/docs/wiki/TypeAlias.FetchTranslationsFunction.md +1 -1
- package/docs/wiki/TypeAlias.LoadModuleFunction.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-localize.mjs +9 -3
- package/fesm2022/rxap-ngx-localize.mjs.map +1 -1
- package/package.json +11 -11
package/compodoc/properties.html
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</ol>
|
|
103
103
|
<ul class="properties-list">
|
|
104
104
|
<li>
|
|
105
|
-
<b>Version</b> : 19.1.1-dev.
|
|
105
|
+
<b>Version</b> : 19.1.1-dev.3</li>
|
|
106
106
|
<li>
|
|
107
107
|
<b>Description</b> : This package provides internationalization (i18n) support for Angular applications, including services for language management, an HTTP interceptor for setting the `Accept-Language` header, and a language selector component. It allows you to set and manage the current language of your application, redirect users based on their language preference, and configure available languages. The package also includes an init generator to handle peer dependencies.
|
|
108
108
|
</li>
|
package/docs/documentation.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"fileName": "i18n.service.ts",
|
|
63
63
|
"line": 20,
|
|
64
64
|
"character": 18,
|
|
65
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
65
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L20"
|
|
66
66
|
}
|
|
67
67
|
],
|
|
68
68
|
"type": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"fileName": "i18n.service.ts",
|
|
96
96
|
"line": 32,
|
|
97
97
|
"character": 9,
|
|
98
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
98
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L32"
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
"signatures": [
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"fileName": "i18n.service.ts",
|
|
111
111
|
"line": 32,
|
|
112
112
|
"character": 9,
|
|
113
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
113
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L32"
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
116
|
"parameters": [
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"fileName": "i18n.service.ts",
|
|
159
159
|
"line": 22,
|
|
160
160
|
"character": 15,
|
|
161
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
161
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L22"
|
|
162
162
|
}
|
|
163
163
|
],
|
|
164
164
|
"signatures": [
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"fileName": "i18n.service.ts",
|
|
174
174
|
"line": 22,
|
|
175
175
|
"character": 15,
|
|
176
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
176
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L22"
|
|
177
177
|
}
|
|
178
178
|
],
|
|
179
179
|
"parameters": [
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"fileName": "i18n.service.ts",
|
|
235
235
|
"line": 15,
|
|
236
236
|
"character": 13,
|
|
237
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L15"
|
|
238
238
|
}
|
|
239
239
|
]
|
|
240
240
|
},
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"fileName": "language-selector.service.ts",
|
|
290
290
|
"line": 23,
|
|
291
291
|
"character": 18,
|
|
292
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
292
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L23"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
295
|
"type": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"fileName": "language-selector.service.ts",
|
|
324
324
|
"line": 26,
|
|
325
325
|
"character": 18,
|
|
326
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
326
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L26"
|
|
327
327
|
}
|
|
328
328
|
],
|
|
329
329
|
"type": {
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"fileName": "language-selector.service.ts",
|
|
358
358
|
"line": 22,
|
|
359
359
|
"character": 18,
|
|
360
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
360
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L22"
|
|
361
361
|
}
|
|
362
362
|
],
|
|
363
363
|
"type": {
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"fileName": "language-selector.service.ts",
|
|
397
397
|
"line": 24,
|
|
398
398
|
"character": 18,
|
|
399
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
399
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L24"
|
|
400
400
|
}
|
|
401
401
|
],
|
|
402
402
|
"type": {
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"fileName": "language-selector.service.ts",
|
|
430
430
|
"line": 36,
|
|
431
431
|
"character": 15,
|
|
432
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
432
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L36"
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
435
|
"signatures": [
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"fileName": "language-selector.service.ts",
|
|
480
480
|
"line": 36,
|
|
481
481
|
"character": 15,
|
|
482
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
482
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L36"
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
485
|
"parameters": [
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
"fileName": "language-selector.service.ts",
|
|
573
573
|
"line": 19,
|
|
574
574
|
"character": 13,
|
|
575
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
575
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L19"
|
|
576
576
|
}
|
|
577
577
|
]
|
|
578
578
|
},
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
"fileName": "load-languages.ts",
|
|
588
588
|
"line": 31,
|
|
589
589
|
"character": 12,
|
|
590
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
590
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L31"
|
|
591
591
|
}
|
|
592
592
|
],
|
|
593
593
|
"type": {
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
"fileName": "load-languages.ts",
|
|
604
604
|
"line": 31,
|
|
605
605
|
"character": 40,
|
|
606
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
606
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L31"
|
|
607
607
|
}
|
|
608
608
|
],
|
|
609
609
|
"signatures": [
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
"fileName": "load-languages.ts",
|
|
682
682
|
"line": 31,
|
|
683
683
|
"character": 118,
|
|
684
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
684
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L31"
|
|
685
685
|
}
|
|
686
686
|
],
|
|
687
687
|
"type": {
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"fileName": "load-languages.ts",
|
|
701
701
|
"line": 31,
|
|
702
702
|
"character": 129,
|
|
703
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
703
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L31"
|
|
704
704
|
}
|
|
705
705
|
],
|
|
706
706
|
"type": {
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
"fileName": "load-languages.ts",
|
|
724
724
|
"line": 31,
|
|
725
725
|
"character": 116,
|
|
726
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
726
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L31"
|
|
727
727
|
}
|
|
728
728
|
]
|
|
729
729
|
}
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
"fileName": "load-languages.ts",
|
|
755
755
|
"line": 33,
|
|
756
756
|
"character": 12,
|
|
757
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
757
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L33"
|
|
758
758
|
}
|
|
759
759
|
],
|
|
760
760
|
"type": {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"fileName": "load-languages.ts",
|
|
771
771
|
"line": 33,
|
|
772
772
|
"character": 33,
|
|
773
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
773
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L33"
|
|
774
774
|
}
|
|
775
775
|
],
|
|
776
776
|
"signatures": [
|
|
@@ -824,7 +824,7 @@
|
|
|
824
824
|
"fileName": "load-languages.ts",
|
|
825
825
|
"line": 10,
|
|
826
826
|
"character": 22,
|
|
827
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
827
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L10"
|
|
828
828
|
}
|
|
829
829
|
],
|
|
830
830
|
"signatures": [
|
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
"fileName": "load-languages.ts",
|
|
859
859
|
"line": 10,
|
|
860
860
|
"character": 22,
|
|
861
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
861
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L10"
|
|
862
862
|
}
|
|
863
863
|
],
|
|
864
864
|
"parameters": [
|
|
@@ -911,7 +911,7 @@
|
|
|
911
911
|
"fileName": "language-interceptor.ts",
|
|
912
912
|
"line": 15,
|
|
913
913
|
"character": 16,
|
|
914
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
914
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-interceptor.ts#L15"
|
|
915
915
|
}
|
|
916
916
|
],
|
|
917
917
|
"signatures": [
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
"fileName": "language-interceptor.ts",
|
|
946
946
|
"line": 15,
|
|
947
947
|
"character": 16,
|
|
948
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
948
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-interceptor.ts#L15"
|
|
949
949
|
}
|
|
950
950
|
],
|
|
951
951
|
"parameters": [
|
|
@@ -1044,7 +1044,7 @@
|
|
|
1044
1044
|
"fileName": "load-i18n-bootstrap-hook.ts",
|
|
1045
1045
|
"line": 12,
|
|
1046
1046
|
"character": 16,
|
|
1047
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1047
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L12"
|
|
1048
1048
|
}
|
|
1049
1049
|
],
|
|
1050
1050
|
"signatures": [
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
"fileName": "load-i18n-bootstrap-hook.ts",
|
|
1060
1060
|
"line": 12,
|
|
1061
1061
|
"character": 16,
|
|
1062
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1062
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L12"
|
|
1063
1063
|
}
|
|
1064
1064
|
],
|
|
1065
1065
|
"parameters": [
|
|
@@ -1146,7 +1146,7 @@
|
|
|
1146
1146
|
"fileName": "load-i18n-bootstrap-hook.ts",
|
|
1147
1147
|
"line": 19,
|
|
1148
1148
|
"character": 9,
|
|
1149
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1149
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L19"
|
|
1150
1150
|
}
|
|
1151
1151
|
],
|
|
1152
1152
|
"signatures": [
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
"fileName": "load-i18n-bootstrap-hook.ts",
|
|
1162
1162
|
"line": 19,
|
|
1163
1163
|
"character": 9,
|
|
1164
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1164
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L19"
|
|
1165
1165
|
}
|
|
1166
1166
|
],
|
|
1167
1167
|
"parameters": [
|
|
@@ -1237,7 +1237,7 @@
|
|
|
1237
1237
|
"fileName": "load-languages.ts",
|
|
1238
1238
|
"line": 47,
|
|
1239
1239
|
"character": 22,
|
|
1240
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1240
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L47"
|
|
1241
1241
|
}
|
|
1242
1242
|
],
|
|
1243
1243
|
"signatures": [
|
|
@@ -1271,7 +1271,7 @@
|
|
|
1271
1271
|
"fileName": "load-languages.ts",
|
|
1272
1272
|
"line": 47,
|
|
1273
1273
|
"character": 22,
|
|
1274
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1274
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/load-languages.ts#L47"
|
|
1275
1275
|
}
|
|
1276
1276
|
],
|
|
1277
1277
|
"parameters": [
|
|
@@ -1441,7 +1441,7 @@
|
|
|
1441
1441
|
}
|
|
1442
1442
|
],
|
|
1443
1443
|
"packageName": "@rxap/ngx-localize",
|
|
1444
|
-
"packageVersion": "19.1.1-dev.
|
|
1444
|
+
"packageVersion": "19.1.1-dev.3",
|
|
1445
1445
|
"readme": [
|
|
1446
1446
|
{
|
|
1447
1447
|
"kind": "text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.hierarchyData = "
|
|
1
|
+
window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "
|
|
1
|
+
window.navigationData = "eJyF0cFOwzAMgOF38bmitIIxeuQwMQlO2w1xsBJvrZbFUeyiTYh3RxOwdmrCbpHy53OUvH2C0kGhgWU19yuKH50hKCCgttCAcShCUo42b1rdOyhg13kLTVXPi58KGrAUIhlUsvBVnOEX9Nset7QiR0Y5ZodkwsnAkb0gNe06oheH2rGXRe/NaTHoegwkZTa81Ovbx4fqvh7fntG+su0d5ehpcc20tMHe6XBwIDe/hJST6FKd3SWeeOmVoqGgHFNkIvsHdYz29O9PzCoaMTwz71JsMrwC/11FcuA5mEDv37bl8NA="
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = "eJytl01vozAQhv+
|
|
1
|
+
window.searchData = "eJytl01vozAQhv/L7NVKGPMR4LiHait1T13tBUUrFpwGlUCEoburKP99ZQqxXZsEqpxamXnfGdsPw+QETf2HQ5yc4LWocoiRhgSq9MAghkcMq2fWvBUZAwJdU0IMWZlyzvhaebbat4cSyPgIYoAzGf18pBe/rK5423RZWzc3/b7owYo3gWPasKr9UKBMiQ71ZM6uEcFPafXSpS+39/FlEJRSsCQ3dTx5fpwtyMvZXXI2LC8alrW3EyqRS7IF8mzHzT1WLWsydlTvdddVWVvUFV9boq4SoxI4ap9ZyQQJUzROxN2FzGvesyid2sQEsSMFfFklquwudeRsl3blNMFXqxnEN4leWBPvw1j+uaJG9b2r2qf86XOXtk/5Pe5tdte5cTz3uC+lP5R1mosm8rWuW9426fFbXb9aOoQ17uq7G5iY1mn+vc67klkSGDFzzUVl5tXqlV+eXzWlTrRBX3acB9Zm+x9NWvEy7b0eBtNLlvbfkfH1ZNyibHLnE2nMAJv/lkBR5ewvxCd4Yw0XPjHQlbuKgMCuYGUuZon3rASy+nAQ2BDI66zr/90OYT97ekTwe/TaAZI4hPorN9puSTJq+/V+YbSQK70OgSRIqLOiIWpCNISoCSmQhFoSUkNHNZ0LJHFtCV1D6GpCD0jiWRJ6hs7TdD6QxLfofEPna7oASBJYdIGhCzTdZupEN4ZwowlDIMnGkjA0dKGmi4AkoUUXGbpIv3pBQmQRogkNfqCmx8bGG1q40cFBOkUAmuygDg8KJBBteU18UOcHBRZoQxZNhFBnCAUa6Nq0Jkaoc4QCD7SRiyZKqLOEPUw2etGkaVjqm8wba1qWP743myTRB7QT/BraEI4d7gQI8elMYCP+nGXv6Rcv7Uc866v4OORLSyot6SwvY9SRXqH0ihZ51Wl+GD5mymaV0tCb5bcTX49W+XrsLu1f8fUU32CWrz63KFaOYoWzrAoMKz6O9dJJMXJm+Yz1FOqPEennSz9/kZ+2v410CZe5DPOSZaeB9Jx3+IIOcWq/x3Fp349Vyi2or4U729N+o67iNfPkLvRaaVNuAue9rfKXqrRRmJ33KpjDvzSLlJLm0abNytJIOSz3XYkzmsiWwLE4srKoGMTJ9nz+DzJe0Tk=";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>I18nService | @rxap/ngx-localize - v19.1.1-dev.
|
|
2
|
-
</div></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>I18nService | @rxap/ngx-localize - v19.1.1-dev.3</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-localize - v19.1.1-dev.3</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-localize</a></li><li><a href="I18nService.html">I18nService</a></li></ul><h1 class="deprecated">Class I18nService</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated" class="tsd-anchor"></a>Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>removed</p>
|
|
2
|
+
</div></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L15">i18n.service.ts:15</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="I18nService.html#constructor" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
3
3
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="I18nService.html#currentlanguage" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Language</span></a>
|
|
4
4
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="I18nService.html#redirect" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redirect</span></a>
|
|
5
5
|
<a href="I18nService.html#setlanguage" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Language</span></a>
|
|
6
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructori18nservice" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">I18nService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="I18nService.html" class="tsd-signature-type tsd-kind-class">I18nService</a><a href="#constructori18nservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="I18nService.html" class="tsd-signature-type tsd-kind-class">I18nService</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="currentlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span class="deprecated">current<wbr/>Language</span><a href="#currentlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">currentLanguage</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/dab2875a2b7176b01d2ab01f55617024f0fa5e04/packages/angular/localize/src/lib/i18n.service.ts#L20">i18n.service.ts:20</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="redirect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">redirect</span><a href="#redirect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="redirect-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">redirect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">current</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#redirect-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">next</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">current</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/dab2875a2b7176b01d2ab01f55617024f0fa5e04/packages/angular/localize/src/lib/i18n.service.ts#L32">i18n.service.ts:32</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">set<wbr/>Language</span><a href="#setlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setlanguage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setLanguage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">language</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#setlanguage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">language</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/dab2875a2b7176b01d2ab01f55617024f0fa5e04/packages/angular/localize/src/lib/i18n.service.ts#L22">i18n.service.ts:22</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#currentlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Language</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#redirect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redirect</span></a><a href="#setlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Language</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v19.1.1-dev.2</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
6
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructori18nservice" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">I18nService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="I18nService.html" class="tsd-signature-type tsd-kind-class">I18nService</a><a href="#constructori18nservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="I18nService.html" class="tsd-signature-type tsd-kind-class">I18nService</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="currentlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span class="deprecated">current<wbr/>Language</span><a href="#currentlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">currentLanguage</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L20">i18n.service.ts:20</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="redirect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">redirect</span><a href="#redirect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="redirect-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">redirect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">current</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#redirect-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">next</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">current</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L32">i18n.service.ts:32</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">set<wbr/>Language</span><a href="#setlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setlanguage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setLanguage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">language</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#setlanguage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">language</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/i18n.service.ts#L22">i18n.service.ts:22</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#currentlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Language</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#redirect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redirect</span></a><a href="#setlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Language</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v19.1.1-dev.3</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LanguageSelectorService | @rxap/ngx-localize - v19.1.1-dev.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LanguageSelectorService | @rxap/ngx-localize - v19.1.1-dev.3</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-localize - v19.1.1-dev.3</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-localize</a></li><li><a href="LanguageSelectorService.html">LanguageSelectorService</a></li></ul><h1>Class LanguageSelectorService</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>A service that manages language selection and configuration for the application.
|
|
2
2
|
Provides functionality to retrieve available languages, default language,
|
|
3
3
|
selected language, and dynamically change the application's language settings.</p>
|
|
4
|
-
</div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
4
|
+
</div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L19">language-selector.service.ts:19</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="LanguageSelectorService.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
5
5
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="LanguageSelectorService.html#defaultlanguage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Language</span></a>
|
|
6
6
|
<a href="LanguageSelectorService.html#haslanguages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Languages</span></a>
|
|
7
7
|
<a href="LanguageSelectorService.html#languages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>languages</span></a>
|
|
8
8
|
<a href="LanguageSelectorService.html#selectedlanguage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>selected<wbr/>Language</span></a>
|
|
9
9
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="LanguageSelectorService.html#setlanguage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Language</span></a>
|
|
10
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructorlanguageselectorservice" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">LanguageSelectorService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LanguageSelectorService.html" class="tsd-signature-type tsd-kind-class">LanguageSelectorService</a><a href="#constructorlanguageselectorservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="LanguageSelectorService.html" class="tsd-signature-type tsd-kind-class">LanguageSelectorService</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="defaultlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>default<wbr/>Language</span><a href="#defaultlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultLanguage</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
10
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructorlanguageselectorservice" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">LanguageSelectorService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LanguageSelectorService.html" class="tsd-signature-type tsd-kind-class">LanguageSelectorService</a><a href="#constructorlanguageselectorservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="LanguageSelectorService.html" class="tsd-signature-type tsd-kind-class">LanguageSelectorService</a></h4></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="defaultlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>default<wbr/>Language</span><a href="#defaultlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultLanguage</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L23">language-selector.service.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="haslanguages" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>has<wbr/>Languages</span><a href="#haslanguages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hasLanguages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L26">language-selector.service.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="languages" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>languages</span><a href="#languages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">languages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">LanguagesConfig</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L22">language-selector.service.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="selectedlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>selected<wbr/>Language</span><a href="#selectedlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">selectedLanguage</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WritableSignal</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L24">language-selector.service.ts:24</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="setlanguage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Language</span><a href="#setlanguage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setlanguage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setLanguage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">language</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">reload</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#setlanguage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the application language to the specified value if it exists in the list of supported languages.
|
|
11
11
|
Optionally reloads the page if the <code>reload</code> parameter is set to <code>true</code>.</p>
|
|
12
12
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">language</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The language code to set as the active language.</p>
|
|
13
13
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">reload</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>A flag indicating whether to reload the page after updating the language.</p>
|
|
14
14
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves once the language has been set and optional reload is completed.</p>
|
|
15
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
15
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/d008a5d5218b610f3c2eccd32d4ec789c8125192/packages/angular/localize/src/lib/language-selector.service.ts#L36">language-selector.service.ts:36</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#defaultlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Language</span></a><a href="#haslanguages" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Languages</span></a><a href="#languages" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>languages</span></a><a href="#selectedlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>selected<wbr/>Language</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#setlanguage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Language</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v19.1.1-dev.3</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|