[PR #129] [MERGED] Add i18n support #3981

Closed
opened 2026-03-23 21:35:46 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/129
Author: @irfanbacker
Created: 12/7/2021
Status: Merged
Merged: 12/8/2021
Merged by: @appflowy

Base: mainHead: i18n-patch


📝 Commits (2)

  • b8ce9b9 Setup basic i18n configs
  • 2aaa076 Add default en translation for i18n

📊 Changes

29 files changed (+601 additions, -90 deletions)

View changed files

frontend/app_flowy/assets/translations/en.json (+122 -0)
📝 frontend/app_flowy/ios/Runner/Info.plist (+4 -0)
frontend/app_flowy/lib/generated/codegen_loader.g.dart (+140 -0)
frontend/app_flowy/lib/generated/locale_keys.g.dart (+108 -0)
📝 frontend/app_flowy/lib/main.dart (+5 -1)
📝 frontend/app_flowy/lib/startup/tasks/application_widget.dart (+12 -1)
📝 frontend/app_flowy/lib/user/application/sign_up_bloc.dart (+5 -3)
📝 frontend/app_flowy/lib/user/presentation/sign_in_screen.dart (+11 -9)
📝 frontend/app_flowy/lib/user/presentation/sign_up_screen.dart (+11 -9)
📝 frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart (+13 -11)
📝 frontend/app_flowy/lib/user/presentation/welcome_screen.dart (+4 -2)
📝 frontend/app_flowy/lib/workspace/domain/edit_action/app_edit.dart (+4 -2)
📝 frontend/app_flowy/lib/workspace/domain/edit_action/view_edit.dart (+5 -3)
📝 frontend/app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart (+3 -1)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart (+3 -1)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart (+6 -4)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart (+6 -3)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart (+13 -11)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart (+6 -4)
📝 frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart (+5 -3)

...and 9 more files

📄 Description

PR for #117

I have added en.json translation file along with this, structured and named the keys as i see fit. Do let me know if changes are needed


🔄 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/129 **Author:** [@irfanbacker](https://github.com/irfanbacker) **Created:** 12/7/2021 **Status:** ✅ Merged **Merged:** 12/8/2021 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `i18n-patch` --- ### 📝 Commits (2) - [`b8ce9b9`](https://github.com/AppFlowy-IO/AppFlowy/commit/b8ce9b9afb880f28427c045d9af69423582b8218) Setup basic i18n configs - [`2aaa076`](https://github.com/AppFlowy-IO/AppFlowy/commit/2aaa076592ee69e59edcd725298dc03f420ae596) Add default en translation for i18n ### 📊 Changes **29 files changed** (+601 additions, -90 deletions) <details> <summary>View changed files</summary> ➕ `frontend/app_flowy/assets/translations/en.json` (+122 -0) 📝 `frontend/app_flowy/ios/Runner/Info.plist` (+4 -0) ➕ `frontend/app_flowy/lib/generated/codegen_loader.g.dart` (+140 -0) ➕ `frontend/app_flowy/lib/generated/locale_keys.g.dart` (+108 -0) 📝 `frontend/app_flowy/lib/main.dart` (+5 -1) 📝 `frontend/app_flowy/lib/startup/tasks/application_widget.dart` (+12 -1) 📝 `frontend/app_flowy/lib/user/application/sign_up_bloc.dart` (+5 -3) 📝 `frontend/app_flowy/lib/user/presentation/sign_in_screen.dart` (+11 -9) 📝 `frontend/app_flowy/lib/user/presentation/sign_up_screen.dart` (+11 -9) 📝 `frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart` (+13 -11) 📝 `frontend/app_flowy/lib/user/presentation/welcome_screen.dart` (+4 -2) 📝 `frontend/app_flowy/lib/workspace/domain/edit_action/app_edit.dart` (+4 -2) 📝 `frontend/app_flowy/lib/workspace/domain/edit_action/view_edit.dart` (+5 -3) 📝 `frontend/app_flowy/lib/workspace/infrastructure/repos/workspace_repo.dart` (+3 -1) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart` (+3 -1) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart` (+6 -4) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/banner.dart` (+6 -3) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/tool_bar.dart` (+13 -11) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart` (+6 -4) 📝 `frontend/app_flowy/lib/workspace/presentation/stack_page/trash/widget/trash_header.dart` (+5 -3) _...and 9 more files_ </details> ### 📄 Description PR for #117 I have added `en.json` translation file along with this, structured and named the keys as i see fit. Do let me know if changes are needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:35:46 +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#3981
No description provided.