Skip to content

The language Netherland/Dutch added#8669

Open
Eltrix-Dot wants to merge 4 commits intoAppFlowy-IO:mainfrom
Eltrix-Dot:main
Open

The language Netherland/Dutch added#8669
Eltrix-Dot wants to merge 4 commits intoAppFlowy-IO:mainfrom
Eltrix-Dot:main

Conversation

@Eltrix-Dot
Copy link
Copy Markdown

@Eltrix-Dot Eltrix-Dot commented Apr 16, 2026

18n: Add Dutch (Netherlands) translation
So i added the Netherlands language.
PS i couldnt get it to Compile my terminal would constantly get a error midway trough.
Whats translated ->

🔐 Authentication flows – Sign In, Sign Up, Magic Link, Errors

🧭 Sidebar & Toolbar – Navigation items, icons, and interactions

🗂 Workspace UI – Pages, states, errors, and workspace actions

⚙️ Settings – Appearance, language, theme, font, layout, date/time

🧠 AI Assistant (Chat) – Prompts, buttons, and feedback messages

📄 Page & Document Actions – Create, edit, share, and publish options

🔘 Common UI Buttons – Confirm, Save, Delete, Upload, etc.

🛑 Errors & Success States – Namespace errors, permissions, publishing

I translated everything that was in the en.US.json file i copied it to the nl-NL.json file wich i created and then went on translating english to dutch.

I used the https://docs.appflowy.io/docs/documentation/appflowy/translation https://docs.appflowy.io/docs/documentation/appflowy/from-source/environment-setup/building-on-windows
But i could not get it to compile and test.

Sorry if i did anything wrong this is my first Pull Request on Github and i never worked with Flutter and Rust before i just wanted to add a language.

Summary by Sourcery

Add Dutch (Netherlands) as a supported application language and include its translations.

New Features:

  • Introduce Dutch (Netherlands) locale to the list of selectable app languages.
  • Provide a Dutch (Netherlands) translation file aligned with existing English strings.

Add Dutch language support in language.dart
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai bot commented Apr 16, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds Dutch (Netherlands) as a supported UI language by wiring a new locale into the Flutter app and providing a full nl-NL translation file mirroring the existing en-US keys.

File-Level Changes

Change Details Files
Wire Dutch (Netherlands) locale into the Flutter localization system.
  • Map the nl locale code to the display name for Dutch in the language helper function.
  • Register Locale('nl', 'NL') in the list of supported locales so it appears in the language selector and can load translations.
frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart
frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart
Provide Dutch translation resource file aligned with the English source strings.
  • Create nl-NL.json translation file alongside existing translation resources.
  • Copy all keys from en-US.json and translate their values into Dutch for authentication, navigation, workspace UI, settings, AI assistant, common buttons, and error/success messages.
frontend/resources/translations/nl-NL.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-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.

Hey - I've left some high level feedback:

  • In languageFromLocale, the new Dutch case is missing a terminating semicolon after "Nederlands", which will prevent the project from compiling.
  • Confirm that nl-NL.json is placed in the correct directory used by the i18n loader (assets/translations in InitAppWidgetTask), or update the path/config so the new locale file is actually loaded at runtime.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `languageFromLocale`, the new Dutch case is missing a terminating semicolon after `"Nederlands"`, which will prevent the project from compiling.
- Confirm that `nl-NL.json` is placed in the correct directory used by the i18n loader (`assets/translations` in `InitAppWidgetTask`), or update the path/config so the new locale file is actually loaded at runtime.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 16, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Author

@Eltrix-Dot Eltrix-Dot left a comment

Choose a reason for hiding this comment

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

I fixed my mistake
In languageFromLocale, the new Dutch case is missing a terminating semicolon after "Nederlands", which will prevent the project from compiling.
Confirm that nl-NL.json is placed in the correct directory used by the i18n loader (assets/translations in InitAppWidgetTask), or update the path/config so the new locale file is actually loaded at runtime.

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.

2 participants