Skip to content

i18n - translations#17528

Merged
FelixMalfait merged 2 commits intomainfrom
i18n
Jan 28, 2026
Merged

i18n - translations#17528
FelixMalfait merged 2 commits intomainfrom
i18n

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Created by Github action

@FelixMalfait FelixMalfait merged commit 3e9dda6 into main Jan 28, 2026
9 checks passed
@FelixMalfait FelixMalfait deleted the i18n branch January 28, 2026 17:16
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Jan 28, 2026

Greptile Overview

Greptile Summary

Automated translation extraction added new error message "Failed to load front component: {errorMessage}" to all 31 locale files. The English (en.po) file contains the complete translation, while all other 29 language files have empty translation strings (msgstr ""), indicating they are pending translation by native speakers or translation services.

  • Only English translation is complete
  • 29 languages are missing translations for the new error message
  • All generated TypeScript files were updated automatically
  • This follows standard i18n workflow where English is added first and other languages follow

Confidence Score: 5/5

  • Safe to merge - standard automated translation extraction with no functional changes
  • This is an automated translation file update following standard i18n workflow, with proper structure and no code logic changes
  • No files require special attention - translations will be completed in future updates

Important Files Changed

Filename Overview
packages/twenty-front/src/locales/en.po Added new translation key "Failed to load front component: {errorMessage}" with English text
packages/twenty-front/src/locales/generated/en.ts Auto-generated TypeScript file updated with new translation entry
packages/twenty-front/src/locales/fr-FR.po Added new translation key but translation string is empty (pending translation)
packages/twenty-front/src/locales/de-DE.po Added new translation key but translation string is empty (pending translation)
packages/twenty-front/src/locales/es-ES.po Added new translation key but translation string is empty (pending translation)

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Code as Source Code
    participant Script as Translation Script
    participant EN as en.po (English)
    participant Locales as Other Locale Files
    participant Gen as Generated TS Files
    
    Dev->>Code: Add t`Failed to load front component: ${errorMessage}`
    Dev->>Script: Run translation extraction
    Script->>Code: Scan source files for translation keys
    Script->>EN: Extract new msgid + add English msgstr
    Script->>Locales: Add new msgid with empty msgstr
    Script->>Gen: Compile .po files to TypeScript
    Gen-->>Code: Updated translation modules ready for import
Loading

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9 issues found across 62 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="packages/twenty-front/src/locales/zh-TW.po">

<violation number="1" location="packages/twenty-front/src/locales/zh-TW.po:5375">
P2: New zh-TW translation entry is added with an empty `msgstr`, which will leave this UI string untranslated. Provide a zh-TW translation and preserve the `{errorMessage}` placeholder.</violation>
</file>

<file name="packages/twenty-front/src/locales/uk-UA.po">

<violation number="1" location="packages/twenty-front/src/locales/uk-UA.po:5375">
P3: Provide a Ukrainian translation for "Failed to load front component: {errorMessage}" so the new string is localized instead of falling back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/de-DE.po">

<violation number="1" location="packages/twenty-front/src/locales/de-DE.po:5375">
P2: Provide a German translation for the newly added "Failed to load front component" message so the de-DE locale doesn’t fall back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/he-IL.po">

<violation number="1" location="packages/twenty-front/src/locales/he-IL.po:5375">
P2: The new Hebrew locale entry for “Failed to load front component: {errorMessage}” has an empty msgstr, so Hebrew users will still see the English text. Provide the translated string while preserving the {errorMessage} placeholder.</violation>
</file>

<file name="packages/twenty-front/src/locales/nl-NL.po">

<violation number="1" location="packages/twenty-front/src/locales/nl-NL.po:5375">
P2: Provide a Dutch translation for the newly added error message so the nl-NL locale does not fall back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/ro-RO.po">

<violation number="1" location="packages/twenty-front/src/locales/ro-RO.po:5375">
P3: Translate the newly added string so Romanian users do not see the English fallback.</violation>
</file>

<file name="packages/twenty-front/src/locales/pt-PT.po">

<violation number="1" location="packages/twenty-front/src/locales/pt-PT.po:5375">
P2: New pt-PT message is added with an empty `msgstr`, leaving the UI untranslated for this string. Provide a Portuguese translation and keep the `{errorMessage}` placeholder.</violation>
</file>

<file name="packages/twenty-front/src/locales/pl-PL.po">

<violation number="1" location="packages/twenty-front/src/locales/pl-PL.po:5375">
P2: Provide a Polish translation for the new "Failed to load front component" message so the pl-PL locale doesn’t fall back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/vi-VN.po">

<violation number="1" location="packages/twenty-front/src/locales/vi-VN.po:5375">
P2: Provide a Vietnamese translation for “Failed to load front component: {errorMessage}” so this locale doesn’t fall back to English.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: New zh-TW translation entry is added with an empty msgstr, which will leave this UI string untranslated. Provide a zh-TW translation and preserve the {errorMessage} placeholder.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/zh-TW.po, line 5375:

<comment>New zh-TW translation entry is added with an empty `msgstr`, which will leave this UI string untranslated. Provide a zh-TW translation and preserve the `{errorMessage}` placeholder.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "獲取回應失敗"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Suggested change
msgstr ""
msgstr "載入前端元件失敗:{errorMessage}"
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Provide a German translation for the newly added "Failed to load front component" message so the de-DE locale doesn’t fall back to English.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/de-DE.po, line 5375:

<comment>Provide a German translation for the newly added "Failed to load front component" message so the de-DE locale doesn’t fall back to English.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Antwort konnte nicht abgerufen werden"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The new Hebrew locale entry for “Failed to load front component: {errorMessage}” has an empty msgstr, so Hebrew users will still see the English text. Provide the translated string while preserving the {errorMessage} placeholder.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/he-IL.po, line 5375:

<comment>The new Hebrew locale entry for “Failed to load front component: {errorMessage}” has an empty msgstr, so Hebrew users will still see the English text. Provide the translated string while preserving the {errorMessage} placeholder.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "התגובה נכשלה בקבלת"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Provide a Dutch translation for the newly added error message so the nl-NL locale does not fall back to English.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/nl-NL.po, line 5375:

<comment>Provide a Dutch translation for the newly added error message so the nl-NL locale does not fall back to English.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Antwoord verkrijgen mislukt"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Suggested change
msgstr ""
msgstr "Kan frontcomponent niet laden: {errorMessage}"
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: New pt-PT message is added with an empty msgstr, leaving the UI untranslated for this string. Provide a Portuguese translation and keep the {errorMessage} placeholder.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/pt-PT.po, line 5375:

<comment>New pt-PT message is added with an empty `msgstr`, leaving the UI untranslated for this string. Provide a Portuguese translation and keep the `{errorMessage}` placeholder.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Falha ao obter resposta"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Suggested change
msgstr ""
msgstr "Falha ao carregar componente do front-end: {errorMessage}"
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Provide a Polish translation for the new "Failed to load front component" message so the pl-PL locale doesn’t fall back to English.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/pl-PL.po, line 5375:

<comment>Provide a Polish translation for the new "Failed to load front component" message so the pl-PL locale doesn’t fall back to English.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Nie udało się uzyskać odpowiedzi"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Provide a Vietnamese translation for “Failed to load front component: {errorMessage}” so this locale doesn’t fall back to English.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/vi-VN.po, line 5375:

<comment>Provide a Vietnamese translation for “Failed to load front component: {errorMessage}” so this locale doesn’t fall back to English.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Không thể lấy được phản hồi"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Suggested change
msgstr ""
msgstr "Không thể tải thành phần front: {errorMessage}"
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: Provide a Ukrainian translation for "Failed to load front component: {errorMessage}" so the new string is localized instead of falling back to English.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/uk-UA.po, line 5375:

<comment>Provide a Ukrainian translation for "Failed to load front component: {errorMessage}" so the new string is localized instead of falling back to English.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Не вдалося отримати відповідь"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Suggested change
msgstr ""
msgstr "Не вдалося завантажити фронт-компонент: {errorMessage}"
Fix with Cubic

#. js-lingui-id: BTjpvA
#: src/modules/front-components/components/FrontComponentRenderer.tsx
msgid "Failed to load front component: {errorMessage}"
msgstr ""
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: Translate the newly added string so Romanian users do not see the English fallback.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/twenty-front/src/locales/ro-RO.po, line 5375:

<comment>Translate the newly added string so Romanian users do not see the English fallback.</comment>

<file context>
@@ -5369,6 +5369,11 @@ msgstr "Nu s-a putut obține un răspuns"
+#. js-lingui-id: BTjpvA
+#: src/modules/front-components/components/FrontComponentRenderer.tsx
+msgid "Failed to load front component: {errorMessage}"
+msgstr ""
+
 #. js-lingui-id: nKkohy
</file context>
Fix with Cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant