langie 2.0.3 → 2.0.4

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/dist/core.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.3
2
+ * langie v2.0.4
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
package/dist/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.3
2
+ * langie v2.0.4
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * langie v2.0.3
2
+ * langie v2.0.4
3
3
  * (c) 2026 nlit
4
4
  * @license Apache-2.0
5
5
  *
@@ -632,6 +632,13 @@ function useLangieCore(options = {}) {
632
632
  }).catch(() => {
633
633
  });
634
634
  };
635
+ (0, import_vue.watch)(
636
+ [() => availableLanguages.value.length, currentLanguage],
637
+ ([count, lang]) => {
638
+ if (count) applyLocalizedNames(lang);
639
+ },
640
+ { immediate: true }
641
+ );
635
642
  const setLanguage = (lang) => {
636
643
  if (lang && lang !== currentLanguage.value) {
637
644
  }