[PR #1477] [MERGED] Fix iOS initial translation loading #2379

Closed
opened 2026-10-14 21:01:38 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1477
Author: @mrfeod
Created: 3/15/2025
Status: ✅ Merged
Merged: 3/24/2025
Merged by: @Nethius

Base: dev ← Head: fix-ios-locale-load


📝 Commits (1)

  • 7b54b03 Fix iOS initial translation loading

📊 Changes

1 file changed (+18 additions, -1 deletions)

View changed files

📝 client/core/controllers/coreController.cpp (+18 -1)

📄 Description

On iOS, the app initially starts with the English locale, ignoring the system language.

I found that my locale is ru_CY (because I'm in Cyprus), but the app only has ru_RU for Russian.

Fix: the code now ignores the location part of the locale when choosing translations.


🔄 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/amnezia-vpn/amnezia-client/pull/1477 **Author:** [@mrfeod](https://github.com/mrfeod) **Created:** 3/15/2025 **Status:** ✅ Merged **Merged:** 3/24/2025 **Merged by:** [@Nethius](https://github.com/Nethius) **Base:** `dev` ← **Head:** `fix-ios-locale-load` --- ### 📝 Commits (1) - [`7b54b03`](https://github.com/amnezia-vpn/amnezia-client/commit/7b54b03415460ab31259ef467f99d1d732716be2) Fix iOS initial translation loading ### 📊 Changes **1 file changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/core/controllers/coreController.cpp` (+18 -1) </details> ### 📄 Description On iOS, the app initially starts with the English locale, ignoring the system language. I found that my locale is `ru_CY` (because I'm in Cyprus), but the app only has `ru_RU` for Russian. Fix: the code now ignores the location part of the locale when choosing translations. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:01:38 +00:00
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amnezia-client#2379
No description provided.