[PR #7705] [MERGED] Add en gb translations #8053

Closed
opened 2026-03-23 23:22:23 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7705
Author: @tmgldn
Created: 4/7/2025
Status: Merged
Merged: 5/12/2025
Merged by: @richardshiue

Base: mainHead: add_en-GB_translations


📝 Commits (4)

  • 94d9425 feat: added en-GB translations
  • 9d42f11 feat: added en-GB translations
  • 9fc83a2 chore: merge remote-tracking branch 'upstream/main' into this one
  • e5fcd2c chore: remove redundant argument

📊 Changes

9 files changed (+3232 additions, -13 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/appearance/appearance_cubit.dart (+1 -1)
📝 frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart (+8 -1)
📝 frontend/appflowy_flutter/test/widget_test/test_material_app.dart (+3 -4)
frontend/resources/translations/en-GB.json (+3212 -0)
📝 frontend/resources/translations/en-US.json (+0 -0)
📝 frontend/scripts/code_generation/language_files/generate_language_files.cmd (+1 -1)
📝 frontend/scripts/code_generation/language_files/generate_language_files.sh (+2 -2)
📝 frontend/scripts/makefile/flutter.toml (+2 -2)

📄 Description

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

Summary by Sourcery

Add support for English (GB) localization and refactor language handling to distinguish between English (US) and English (GB) variants

New Features:

  • Add English (GB) as a supported localization option

Enhancements:

  • Improve language detection to differentiate between English (US) and English (GB) locales
  • Update language-related code to handle country-specific English variants

Chores:

  • Update build scripts and test configurations to use en-US.json instead of en.json
  • Modify supported locales to include explicit country codes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/7705 **Author:** [@tmgldn](https://github.com/tmgldn) **Created:** 4/7/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `add_en-GB_translations` --- ### 📝 Commits (4) - [`94d9425`](https://github.com/AppFlowy-IO/AppFlowy/commit/94d9425290882c6723d80f3032b88f326be5133c) feat: added en-GB translations - [`9d42f11`](https://github.com/AppFlowy-IO/AppFlowy/commit/9d42f11364b7a4520ce56ae3eae74158c828cfcf) feat: added en-GB translations - [`9fc83a2`](https://github.com/AppFlowy-IO/AppFlowy/commit/9fc83a2921a826d9f76e1e108378415e45f8f474) chore: merge remote-tracking branch 'upstream/main' into this one - [`e5fcd2c`](https://github.com/AppFlowy-IO/AppFlowy/commit/e5fcd2cf3d71b31d84c0de43021ac268b0ca299a) chore: remove redundant argument ### 📊 Changes **9 files changed** (+3232 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/appearance/appearance_cubit.dart` (+1 -1) 📝 `frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart` (+8 -1) 📝 `frontend/appflowy_flutter/test/widget_test/test_material_app.dart` (+3 -4) ➕ `frontend/resources/translations/en-GB.json` (+3212 -0) 📝 `frontend/resources/translations/en-US.json` (+0 -0) 📝 `frontend/scripts/code_generation/language_files/generate_language_files.cmd` (+1 -1) 📝 `frontend/scripts/code_generation/language_files/generate_language_files.sh` (+2 -2) 📝 `frontend/scripts/makefile/flutter.toml` (+2 -2) </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. ## Summary by Sourcery Add support for English (GB) localization and refactor language handling to distinguish between English (US) and English (GB) variants New Features: - Add English (GB) as a supported localization option Enhancements: - Improve language detection to differentiate between English (US) and English (GB) locales - Update language-related code to handle country-specific English variants Chores: - Update build scripts and test configurations to use en-US.json instead of en.json - Modify supported locales to include explicit country codes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:22:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#8053
No description provided.