[PR #2422] [MERGED] Set language to en_US if value is incorrect #2718

Closed
opened 2026-02-27 22:00:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2422
Author: @DanielSvoboda
Created: 2/13/2025
Status: Merged
Merged: 2/13/2025
Merged by: @georgemoralis

Base: mainHead: patch-1


📝 Commits (1)

  • 3813e51 Set language to en_US if value is incorrect

📊 Changes

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

View changed files

📝 src/common/config.cpp (+14 -0)

📄 Description

Recently, some changes were made to the languages, and the name 'en' was changed to 'en_US'.

The emulator was not handling names outside of the known ones, so the first one in the list was selected as 'Albanian'.

If emulatorLanguage is not one of the known languages, it will set the language to 'en_US'.


🔄 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/shadps4-emu/shadPS4/pull/2422 **Author:** [@DanielSvoboda](https://github.com/DanielSvoboda) **Created:** 2/13/2025 **Status:** ✅ Merged **Merged:** 2/13/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3813e51`](https://github.com/shadps4-emu/shadPS4/commit/3813e51c21a7fe7c09330e0e1d9e0ddf53180a95) Set language to en_US if value is incorrect ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+14 -0) </details> ### 📄 Description Recently, some changes were made to the languages, and the name 'en' was changed to 'en_US'. The emulator was not handling names outside of the known ones, so the first one in the list was selected as 'Albanian'. If emulatorLanguage is not one of the known languages, it will set the language to 'en_US'. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:58 +03: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
starred/shadPS4#2718
No description provided.