@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [19.1.1-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/ngx-localize@19.1.1-dev.2...@rxap/ngx-localize@19.1.1-dev.3) (2025-08-29)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **localize:** ensure correct locale handling and reload consistency ([02b907d](https://gitlab.com/rxap/packages/commit/02b907d2c2a2e2a7afde908bbc75ef53e40d4815))
|
|
11
|
+
|
|
6
12
|
## [19.1.1-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/ngx-localize@19.1.1-dev.1...@rxap/ngx-localize@19.1.1-dev.2) (2025-05-16)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,11 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-localize@19.1.1-dev.2...@rxap/ngx-localize@19.1.1-dev.3">19.1.1-dev.3</a> (2025-08-29)</h2>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>localize:</strong> ensure correct locale handling and reload consistency (<a href="https://gitlab.com/rxap/packages/commit/02b907d2c2a2e2a7afde908bbc75ef53e40d4815">02b907d</a>)</li>
|
|
92
|
+
</ul>
|
|
88
93
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-localize@19.1.1-dev.1...@rxap/ngx-localize@19.1.1-dev.2">19.1.1-dev.2</a> (2025-05-16)</h2>
|
|
89
94
|
<h3>Bug Fixes</h3>
|
|
90
95
|
<ul>
|
|
@@ -473,9 +473,13 @@ export class LanguageSelectorService {
|
|
|
473
473
|
if (language !== this.selectedLanguage()) {
|
|
474
474
|
if (Object.keys(this.languages()).includes(language)) {
|
|
475
475
|
localStorage.setItem("locale", language);
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
476
|
+
} else if (this.defaultLanguage()) {
|
|
477
|
+
localStorage.setItem("locale", this.defaultLanguage());
|
|
478
|
+
} else {
|
|
479
|
+
localStorage.removeItem("locale");
|
|
480
|
+
}
|
|
481
|
+
if (reload) {
|
|
482
|
+
location.reload();
|
|
479
483
|
}
|
|
480
484
|
}
|
|
481
485
|
}
|