@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.
Files changed (42) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compodoc/changelog.html +5 -0
  3. package/compodoc/dependencies.html +1 -1
  4. package/compodoc/injectables/LanguageSelectorService.html +7 -3
  5. package/compodoc/js/search/search_index.js +2 -2
  6. package/compodoc/properties.html +1 -1
  7. package/docs/documentation.json +31 -31
  8. package/docs/html/assets/hierarchy.js +1 -1
  9. package/docs/html/assets/navigation.js +1 -1
  10. package/docs/html/assets/search.js +1 -1
  11. package/docs/html/classes/I18nService.html +3 -3
  12. package/docs/html/classes/LanguageSelectorService.html +4 -4
  13. package/docs/html/functions/LanguageInterceptor.html +2 -2
  14. package/docs/html/functions/defaultLoadModule.html +2 -2
  15. package/docs/html/functions/loadI18nBootstrapHook.html +1 -1
  16. package/docs/html/functions/loadLanguages.html +2 -2
  17. package/docs/html/index.html +2 -2
  18. package/docs/html/modules.html +1 -1
  19. package/docs/html/types/FetchTranslationsFunction.html +1 -1
  20. package/docs/html/types/LoadModuleFunction.html +1 -1
  21. package/docs/markdown/README.md +1 -1
  22. package/docs/markdown/classes/I18nService.md +5 -5
  23. package/docs/markdown/classes/LanguageSelectorService.md +7 -7
  24. package/docs/markdown/functions/LanguageInterceptor.md +2 -2
  25. package/docs/markdown/functions/defaultLoadModule.md +2 -2
  26. package/docs/markdown/functions/loadI18nBootstrapHook.md +2 -2
  27. package/docs/markdown/functions/loadLanguages.md +2 -2
  28. package/docs/markdown/globals.md +2 -2
  29. package/docs/markdown/type-aliases/FetchTranslationsFunction.md +2 -2
  30. package/docs/markdown/type-aliases/LoadModuleFunction.md +2 -2
  31. package/docs/wiki/Class.I18nService.md +4 -4
  32. package/docs/wiki/Class.LanguageSelectorService.md +6 -6
  33. package/docs/wiki/Function.LanguageInterceptor.md +1 -1
  34. package/docs/wiki/Function.defaultLoadModule.md +1 -1
  35. package/docs/wiki/Function.loadI18nBootstrapHook.md +1 -1
  36. package/docs/wiki/Function.loadLanguages.md +1 -1
  37. package/docs/wiki/TypeAlias.FetchTranslationsFunction.md +1 -1
  38. package/docs/wiki/TypeAlias.LoadModuleFunction.md +1 -1
  39. package/docs/wiki/globals.md +1 -1
  40. package/fesm2022/rxap-ngx-localize.mjs +9 -3
  41. package/fesm2022/rxap-ngx-localize.mjs.map +1 -1
  42. 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
@@ -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>
@@ -117,7 +117,7 @@
117
117
  <li>
118
118
  <b>@angular/core</b> : ^19.2.1</li>
119
119
  <li>
120
- <b>@rxap/config</b> : ^19.1.0</li>
120
+ <b>@rxap/config</b> : ^19.1.1-dev.0</li>
121
121
  <li>
122
122
  <b>@rxap/ngx-user</b> : ^19.0.4</li>
123
123
  <li>
@@ -473,9 +473,13 @@ export class LanguageSelectorService {
473
473
  if (language !&#x3D;&#x3D; this.selectedLanguage()) {
474
474
  if (Object.keys(this.languages()).includes(language)) {
475
475
  localStorage.setItem(&quot;locale&quot;, language);
476
- if (reload) {
477
- location.reload();
478
- }
476
+ } else if (this.defaultLanguage()) {
477
+ localStorage.setItem(&quot;locale&quot;, this.defaultLanguage());
478
+ } else {
479
+ localStorage.removeItem(&quot;locale&quot;);
480
+ }
481
+ if (reload) {
482
+ location.reload();
479
483
  }
480
484
  }
481
485
  }