We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea1401 commit a1d11d9Copy full SHA for a1d11d9
2 files changed
.changeset/purple-dogs-relax.md
@@ -0,0 +1,5 @@
1
+---
2
+"lingo.dev": patch
3
4
+
5
+update unlocalizable keys even with no translation changes
packages/cli/src/cli/cmd/i18n.ts
@@ -279,8 +279,11 @@ export default new Command()
279
.omitBy((value, key) => value === targetData[key])
280
.size()
281
.value();
282
283
+ // Push to bucket all the time as there might be changes to unlocalizable keys
284
+ await bucketLoader.push(targetLocale, finalTargetData);
285
286
if (finalDiffSize > 0 || flags.force) {
- await bucketLoader.push(targetLocale, finalTargetData);
287
bucketOra.succeed(`[${sourceLocale} -> ${targetLocale}] Localization completed`);
288
} else {
289
bucketOra.succeed(`[${sourceLocale} -> ${targetLocale}] Localization completed (no changes).`);
0 commit comments