[PR #293] [CLOSED] Changes language names to their respective languages #4048

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/293
Author: @bolshoytoster
Created: 2/1/2022
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 5e25722 Changes language names to their respective languages
  • aa737cc Fixed typo
  • 382bbb6 Remove function calls

📊 Changes

1 file changed (+26 additions, -0 deletions)

View changed files

📝 frontend/app_flowy/packages/flowy_infra/lib/language.dart (+26 -0)

📄 Description

Fixes #290

Some non-english speakers might find it hard to change their language
because they are all written in english.

This commit changes the language names in the selector to their
respective languages.

  • Added two functions in frontend/app_flowy/packages/flowy_infra/lib/language.dart:
    • fullStringFromLanguage
    • languageFromFullString

These convert two and from the language's name and it's AppLanguage.

  • '_LanguageSelectorDropdownState' now uses strings for the value
    field, and converts using the afformentioned functions.

🔄 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/293 **Author:** [@bolshoytoster](https://github.com/bolshoytoster) **Created:** 2/1/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`5e25722`](https://github.com/AppFlowy-IO/AppFlowy/commit/5e257225133bb69762f32e288d7f3c19424c29da) Changes language names to their respective languages - [`aa737cc`](https://github.com/AppFlowy-IO/AppFlowy/commit/aa737cc209dd0ce97f2da3ab7d382cfc66f9fe2d) Fixed typo - [`382bbb6`](https://github.com/AppFlowy-IO/AppFlowy/commit/382bbb64caf451365d3faff9184a996b60f25630) Remove function calls ### 📊 Changes **1 file changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/packages/flowy_infra/lib/language.dart` (+26 -0) </details> ### 📄 Description Fixes #290 Some non-english speakers might find it hard to change their language because they are all written in english. This commit changes the language names in the selector to their respective languages. - Added two functions in `frontend/app_flowy/packages/flowy_infra/lib/language.dart`: - - fullStringFromLanguage - - languageFromFullString These convert two and from the language's name and it's AppLanguage. - '_LanguageSelectorDropdownState' now uses strings for the `value` field, and converts using the afformentioned functions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:04 +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#4048
No description provided.