Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
cb4efe2
chore: swap to i18next-cli
mkilpatrick Feb 5, 2026
64c914f
Automated update to THIRD-PARTY-NOTICES from github action's 3rd part…
github-actions[bot] Feb 5, 2026
015fa47
comments/dead code
mkilpatrick Feb 5, 2026
dc14b81
Automated linting/prettier update
github-actions[bot] Feb 5, 2026
60efc6a
Update component screenshots for visual-editor
github-actions[bot] Feb 5, 2026
e5ffbe0
Update component screenshots for visual-editor
github-actions[bot] Feb 5, 2026
a52727f
fixes
mkilpatrick Feb 6, 2026
813d573
comments
mkilpatrick Feb 6, 2026
3e38ebf
Merge branch 'main' into i18n
mkilpatrick Feb 6, 2026
b0083b9
Automated update to THIRD-PARTY-NOTICES from github action's 3rd part…
github-actions[bot] Feb 6, 2026
d178a35
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
fd38cb1
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
a78fc03
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
f9607aa
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
f316c16
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
c1a5c1c
lots of translation fixes
mkilpatrick Feb 6, 2026
42357a4
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
91d997c
more
mkilpatrick Feb 6, 2026
250b9ef
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
9a67ba4
more
mkilpatrick Feb 6, 2026
208cc0d
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
c7b5347
fix
mkilpatrick Feb 6, 2026
bb37f02
forgot to update
mkilpatrick Feb 6, 2026
13dfd3c
it never ends
mkilpatrick Feb 6, 2026
3a73705
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
8b3485b
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
9f8965c
more
mkilpatrick Feb 6, 2026
befd0d1
Merge branch 'main' into i18n
mkilpatrick Feb 6, 2026
944d48a
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
b696f5f
swap to ts
mkilpatrick Feb 6, 2026
e21490a
Automated linting/prettier update
github-actions[bot] Feb 6, 2026
f739bd5
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
a4d17ad
Update component screenshots for visual-editor
github-actions[bot] Feb 6, 2026
9ce6031
Merge branch 'main' into i18n
mkilpatrick Feb 12, 2026
69bf555
run update
mkilpatrick Feb 12, 2026
b5e9ac1
german
mkilpatrick Feb 12, 2026
0845474
Automated linting/prettier update
github-actions[bot] Feb 12, 2026
94566ad
Automated update to THIRD-PARTY-NOTICES from github action's 3rd part…
github-actions[bot] Feb 12, 2026
29e02f6
fixes
mkilpatrick Feb 12, 2026
98a9054
Automated linting/prettier update
github-actions[bot] Feb 12, 2026
4eb4644
Update component screenshots for visual-editor
github-actions[bot] Feb 12, 2026
50a2887
Update component screenshots for visual-editor
github-actions[bot] Feb 12, 2026
e0eb9df
Merge branch 'main' into i18n
mkilpatrick Feb 13, 2026
8f5bc12
Automated update to THIRD-PARTY-NOTICES from github action's 3rd part…
github-actions[bot] Feb 13, 2026
2cdf0af
Update component screenshots for visual-editor
github-actions[bot] Feb 13, 2026
c2c0795
Update component screenshots for visual-editor
github-actions[bot] Feb 13, 2026
69230d0
share locales
mkilpatrick Feb 13, 2026
f162b4c
Automated linting/prettier update
github-actions[bot] Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
script: |
core.setFailed('i18n changes were made. A new commit with autofixes was pushed.')

- name: Check for empty translation strings
run: pnpm run i18n:check-empty # This will fail the workflow if it exits with a non-zero code
- name: Lint i18n files
run: pnpm run i18n:lint
2 changes: 1 addition & 1 deletion packages/visual-editor/THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The following npm package may be included in this product:

- i18next@25.4.0
- i18next@25.8.7

This package contains the following license:

Expand Down
37 changes: 37 additions & 0 deletions packages/visual-editor/i18next-cli.components.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { defineConfig } from "i18next-cli";
import { locales } from "./src/utils/i18n/locales.ts";

export default defineConfig({
locales,
extract: {
input: [
"src/components/**/*.{ts,tsx}",
"src/editor/**/*.{ts,tsx}",
"src/internal/**/*.{ts,tsx}",
"src/utils/*.ts",
],
ignore: ["**/__screenshots__/**"],
output: "locales/components/{{language}}/{{namespace}}.json",
defaultNS: "visual-editor",
contextSeparator: "_",
pluralSeparator: "_",
interpolationPrefix: "{{",
interpolationSuffix: "}}",
functions: ["t", "*.t", "i18next.t"],
primaryLanguage: "en",
defaultValue: "",
sort: true,
indentation: 2,
removeUnusedKeys: true,
},
lint: {
ignore: [
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/components/base/buttons/*.tsx",
"src/components/contentBlocks/MapboxStaticMap.tsx",
"src/internal/puck/components/LayoutHeader.tsx",
"src/internal/components/modals/LayoutApprovalModal.tsx",
],
},
});
37 changes: 37 additions & 0 deletions packages/visual-editor/i18next-cli.platform.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { defineConfig } from "i18next-cli";
import { locales } from "./src/utils/i18n/locales.ts";

export default defineConfig({
locales,
extract: {
input: [
"src/components/**/*.{ts,tsx}",
"src/editor/**/*.{ts,tsx}",
"src/internal/**/*.{ts,tsx}",
"src/utils/*.ts",
],
ignore: ["**/__screenshots__/**"],
output: "locales/platform/{{language}}/{{namespace}}.json",
defaultNS: "visual-editor",
contextSeparator: "_",
pluralSeparator: "_",
interpolationPrefix: "{{",
interpolationSuffix: "}}",
functions: ["t", "*.t", "i18next.t", "pt", "msg"],
primaryLanguage: "en",
defaultValue: "",
sort: true,
indentation: 2,
removeUnusedKeys: true,
},
lint: {
ignore: [
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/components/base/buttons/*.tsx",
"src/components/contentBlocks/MapboxStaticMap.tsx",
"src/internal/puck/components/LayoutHeader.tsx",
"src/internal/components/modals/LayoutApprovalModal.tsx",
],
},
});
65 changes: 0 additions & 65 deletions packages/visual-editor/i18next-scanner.config.cjs

This file was deleted.

69 changes: 25 additions & 44 deletions packages/visual-editor/locales/components/cs/visual-editor.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 24 additions & 43 deletions packages/visual-editor/locales/components/da/visual-editor.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading