Skip to content

i18n - translations#17469

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

i18n - translations#17469
FelixMalfait merged 2 commits intomainfrom
i18n

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Created by Github action

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Jan 27, 2026

Greptile Overview

Greptile Summary

This PR adds 4 new translation strings for the navigation menu item folder feature across all 31 supported locales. The changes were generated by an automated GitHub action that extracts translation strings from source code.

Key Changes

  • Added translations for navigation menu item deletion confirmations with pluralization support
  • Added reference to NavigationMenuItemFolderNavigationDrawerItemDropdown.tsx for "Delete" and "Rename" actions
  • Added reference to CurrentWorkspaceMemberNavigationMenuItemFolders.tsx for "Favorites" label
  • Added reference to WorkspaceNavigationMenuItems.tsx for "Workspace" label
  • Regenerated all 31 generated TypeScript translation files with the new strings

Translation Status

  • English (en.po): Complete with all 4 new strings properly translated
  • All other languages: Translation keys added but msgstr values are empty, which means they will fall back to English text until translations are provided

New Translation Keys

  1. 0Urj9q: "Remove {navigationMenuItemCount} navigation menu item?" (singular)
  2. Ef5jwi: "Remove {navigationMenuItemCount} navigation menu items?" (plural)
  3. lAHIY2: "This action will delete this folder and all {navigationMenuItemCount} navigation menu items inside. Do you want to continue?" (plural)
  4. gSO0+U: "This action will delete this folder and the navigation menu item inside. Do you want to continue?" (singular)

The translations follow the existing Lingui i18n framework patterns and include proper pluralization support.

Confidence Score: 4/5

  • This PR is safe to merge - it's an automated translation extraction with no code logic changes
  • The PR only adds new translation keys to .po files and regenerates compiled TypeScript translation files. All non-English translations are left empty (msgstr=""), which is expected for an automated extraction process. The English base translations are properly defined and will serve as fallbacks. The only concern is that translations need to be completed in a follow-up.
  • All non-English locale files need translations completed, but this doesn't block merging

Important Files Changed

Filename Overview
packages/twenty-front/src/locales/en.po Added 4 new translation strings for navigation menu item feature with proper lingui IDs and source references
packages/twenty-front/src/locales/fr-FR.po Added 4 new translation keys but left msgstr empty - translations need to be completed
packages/twenty-front/src/locales/de-DE.po Added 4 new translation keys but left msgstr empty - translations need to be completed
packages/twenty-front/src/locales/es-ES.po Added 4 new translation keys but left msgstr empty - translations need to be completed
packages/twenty-front/src/locales/ja-JP.po Added 4 new translation keys but left msgstr empty - translations need to be completed
packages/twenty-front/src/locales/zh-CN.po Added 4 new translation keys but left msgstr empty - translations need to be completed

Sequence Diagram

sequenceDiagram
    participant GHA as GitHub Action
    participant SRC as Source Code
    participant EXTRACT as Lingui Extract
    participant PO as .po Files
    participant COMPILE as Lingui Compile
    participant TS as Generated .ts Files

    Note over GHA,TS: Automated i18n Translation Workflow

    GHA->>SRC: Scan codebase for t` ` and Trans components
    SRC-->>EXTRACT: NavigationMenuItems.tsx contains 4 new strings
    
    EXTRACT->>PO: Extract translation IDs and source strings
    Note over PO: Update en.po with new msgid entries
    Note over PO: Add empty msgstr entries to 30 other locales
    
    PO->>COMPILE: Process all .po files
    COMPILE->>TS: Generate JSON-formatted TypeScript files
    
    Note over TS: 31 generated files updated<br/>with new translation keys
    
    TS-->>GHA: Commit changes
    GHA->>GHA: Create pull request
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.

No files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@FelixMalfait FelixMalfait merged commit d6a7dbb into main Jan 27, 2026
10 checks passed
@FelixMalfait FelixMalfait deleted the i18n branch January 27, 2026 11:03
@github-actions
Copy link
Copy Markdown
Contributor Author

Fails
🚫

node failed.

Log

Details
�[31mError: �[39m SyntaxError: Unexpected token 'C', "Contributo"... is not valid JSON
    at JSON.parse (<anonymous>)
�[90m    at parseJSONFromBytes (node:internal/deps/undici/undici:4259:19)�[39m
�[90m    at successSteps (node:internal/deps/undici/undici:6882:27)�[39m
�[90m    at readAllBytes (node:internal/deps/undici/undici:5807:13)�[39m
�[90m    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
danger-results://tmp/danger-results-d180f5bc.json

Generated by 🚫 dangerJS against ac88261

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.

16 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/vi-VN.po">

<violation number="1" location="packages/twenty-front/src/locales/vi-VN.po:9609">
P2: Add the Vietnamese translation for this confirmation dialog to avoid English text in the vi-VN locale.</violation>
</file>

<file name="packages/twenty-front/src/locales/ko-KR.po">

<violation number="1" location="packages/twenty-front/src/locales/ko-KR.po:9609">
P3: Fill in the Korean translation for this destructive-action confirmation so the UI doesn’t fall back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/tr-TR.po">

<violation number="1" location="packages/twenty-front/src/locales/tr-TR.po:9609">
P3: Provide a Turkish translation for this new string so the tr-TR locale doesn’t fall back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/it-IT.po">

<violation number="1" location="packages/twenty-front/src/locales/it-IT.po:9609">
P2: Provide the Italian translation for the single-item navigation-folder deletion warning.</violation>
</file>

<file name="packages/twenty-front/src/locales/da-DK.po">

<violation number="1" location="packages/twenty-front/src/locales/da-DK.po:9608">
P2: New Danish translation entries were added with empty `msgstr` values. Provide translations so the UI doesn’t render missing/fallback strings.</violation>
</file>

<file name="packages/twenty-front/src/locales/af-ZA.po">

<violation number="1" location="packages/twenty-front/src/locales/af-ZA.po:9609">
P2: Supply the missing Afrikaans translation so destructive-action dialogs remain localized.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/uk-UA.po:9609">
P3: Add the Ukrainian translation for this destructive confirmation message so the locale remains fully translated.</violation>
</file>

<file name="packages/twenty-front/src/locales/cs-CZ.po">

<violation number="1" location="packages/twenty-front/src/locales/cs-CZ.po:9609">
P2: Provide the Czech translation for the newly added navigation menu item removal prompt to avoid falling back to English.</violation>
</file>

<file name="packages/twenty-front/src/locales/es-ES.po">

<violation number="1" location="packages/twenty-front/src/locales/es-ES.po:9609">
P2: Translate this singular confirmation message so the UI remains localized.</violation>
</file>

<file name="packages/twenty-front/src/locales/fi-FI.po">

<violation number="1" location="packages/twenty-front/src/locales/fi-FI.po:9609">
P2: Add the Finnish translation for the singular delete warning so the modal isn’t shown in English for Finnish users.</violation>
</file>

<file name="packages/twenty-front/src/locales/fr-FR.po">

<violation number="1" location="packages/twenty-front/src/locales/fr-FR.po:9609">
P2: Translate the confirmation shown when deleting a folder with a single navigation item so the French locale remains fully localized.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/de-DE.po:9609">
P2: Add the German translation for the folder deletion warning so the confirmation dialog is localized.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/nl-NL.po:9609">
P2: Fill in the Dutch translation for the new destructive-action warning so Dutch users aren’t shown English text.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/he-IL.po:9609">
P2: Add the missing Hebrew translation for the plural removal confirmation so the UI stays localized.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/zh-CN.po:9609">
P3: Translate the single-item folder deletion warning so zh-CN users aren’t shown English text.</violation>
</file>

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

<violation number="1" location="packages/twenty-front/src/locales/pl-PL.po:9609">
P2: Add the missing Polish translation for this singular deletion confirmation.</violation>
</file>

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

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: Add the Vietnamese translation for this confirmation dialog to avoid English text in the vi-VN locale.

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 9609:

<comment>Add the Vietnamese translation for this confirmation dialog to avoid English text in the vi-VN locale.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Xóa {favoriteCount} mục yêu thích?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Suggested change
msgstr ""
msgstr "Hành động này sẽ xóa thư mục này và mục menu điều hướng bên trong. Bạn có muốn tiếp tục không?"
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: Provide the Italian translation for the single-item navigation-folder deletion warning.

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/it-IT.po, line 9609:

<comment>Provide the Italian translation for the single-item navigation-folder deletion warning.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Rimuovere {favoriteCount} preferito?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Suggested change
msgstr ""
msgstr "Questa azione eliminerà questa cartella e la voce del menu di navigazione al suo interno. Vuoi continuare?"
Fix with Cubic


#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: New Danish translation entries were added with empty msgstr values. Provide translations so the UI doesn’t render missing/fallback strings.

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/da-DK.po, line 9608:

<comment>New Danish translation entries were added with empty `msgstr` values. Provide translations so the UI doesn’t render missing/fallback strings.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Fjern {favoriteCount} favorit?"
 
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
</file context>
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: Supply the missing Afrikaans translation so destructive-action dialogs remain localized.

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/af-ZA.po, line 9609:

<comment>Supply the missing Afrikaans translation so destructive-action dialogs remain localized.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Verwyder {favoriteCount} gunsteling?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: Provide the Czech translation for the newly added navigation menu item removal prompt to avoid 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/cs-CZ.po, line 9609:

<comment>Provide the Czech translation for the newly added navigation menu item removal prompt to avoid falling back to English.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Odebrat {favoriteCount} oblíbenou položku?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P2: Add the missing Polish translation for this singular deletion confirmation.

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 9609:

<comment>Add the missing Polish translation for this singular deletion confirmation.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Usunąć {favoriteCount} element z ulubionych?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Suggested change
msgstr ""
msgstr "Ta akcja usunie ten folder oraz element menu nawigacji w środku. Czy chcesz kontynuować?"
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P3: Fill in the Korean translation for this destructive-action confirmation so the UI 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/ko-KR.po, line 9609:

<comment>Fill in the Korean translation for this destructive-action confirmation so the UI doesn’t fall back to English.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "즐겨찾기 {favoriteCount}개를 제거하시겠습니까?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P3: Provide a Turkish translation for this new string so the tr-TR 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/tr-TR.po, line 9609:

<comment>Provide a Turkish translation for this new string so the tr-TR locale doesn’t fall back to English.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "{favoriteCount} favori kaldırılsın mı?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Suggested change
msgstr ""
msgstr "{navigationMenuItemCount} navigasyon menüsü öğesi kaldırılsın mı?"
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P3: Add the Ukrainian translation for this destructive confirmation message so the locale remains fully translated.

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 9609:

<comment>Add the Ukrainian translation for this destructive confirmation message so the locale remains fully translated.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "Вилучити {favoriteCount} елемент з обраного?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</file context>
Suggested change
msgstr ""
msgstr "Ця дія видалить цю папку та всі {navigationMenuItemCount} елементи меню навігації всередині. Продовжити?"
Fix with Cubic

#. js-lingui-id: 0Urj9q
#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
msgid "Remove {navigationMenuItemCount} navigation menu item?"
msgstr ""
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

P3: Translate the single-item folder deletion warning so zh-CN users aren’t shown English text.

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-CN.po, line 9609:

<comment>Translate the single-item folder deletion warning so zh-CN users aren’t shown English text.</comment>

<file context>
@@ -9600,6 +9603,16 @@ msgstr "移除 {favoriteCount} 个收藏?"
+#. js-lingui-id: 0Urj9q
+#: src/modules/navigation-menu-item/components/CurrentWorkspaceMemberNavigationMenuItems.tsx
+msgid "Remove {navigationMenuItemCount} navigation menu item?"
+msgstr ""
+
+#. js-lingui-id: Ef5jwi
</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