[PR #1089] [MERGED] fix: Fixed locale bug when oppening - #4526

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1089
Author: @sunny7dusk
Created: 9/18/2022
Status: Merged
Merged: 9/19/2022
Merged by: @appflowy

Base: mainHead: fix_language_when_reopening_700


📝 Commits (1)

  • 9274444 fix: fixed bug - if case before stopped AppearanceSettingModel to load locale

📊 Changes

1 file changed (+16 additions, -9 deletions)

View changed files

📝 frontend/app_flowy/lib/workspace/application/appearance.dart (+16 -9)

📄 Description

#700
If case before in readLocaleWhenAppLaunch and setLocale stopped AppearanceSettingModel from loading the saved locale during opening load.

Testing

  1. Go to Settings and then Language
  2. Pick any language, let's say Bahasa
  3. Close and reopen the app
  4. The app should now load with Bahasa as the starting language

🔄 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/1089 **Author:** [@sunny7dusk](https://github.com/sunny7dusk) **Created:** 9/18/2022 **Status:** ✅ Merged **Merged:** 9/19/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `fix_language_when_reopening_700` --- ### 📝 Commits (1) - [`9274444`](https://github.com/AppFlowy-IO/AppFlowy/commit/9274444bdeef64fd76547e5c47053034f9fe86b5) fix: fixed bug - if case before stopped AppearanceSettingModel to load locale ### 📊 Changes **1 file changed** (+16 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/workspace/application/appearance.dart` (+16 -9) </details> ### 📄 Description #700 If case before in `readLocaleWhenAppLaunch` and `setLocale` stopped `AppearanceSettingModel` from loading the saved locale during opening load. ## Testing 1. Go to `Settings` and then `Language` 2. Pick any language, let's say `Bahasa` 3. Close and reopen the app 4. The app should now load with `Bahasa` as the starting language --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:38:12 +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#4526
No description provided.