Commit graph

10 commits

Author SHA1 Message Date
flaviacastro
9887109d55 chore: add brazilian portuguese language 2026-02-25 12:17:36 +00:00
Diptanil Saha
efc08415fe
fix(language): typo in myanmar language name (#36931) 2026-02-11 16:01:27 +05:30
Raffael Meyer
5754c7dfef
fix: enable translated languages (#35003) 2025-12-01 16:50:50 +00:00
Akhil Narang
2316ecde52
chore: enable burmese language
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-08 18:16:42 +05:30
Raffael Meyer
3797756b43
chore: enable Norsk Bokmal (#33978) 2025-09-17 21:06:20 +02:00
mahsem
dc414f2dfa
fix: add Serbian (Latin) language (#32931) 2025-06-13 18:38:04 +02:00
Raffael Meyer
4dd784fae7
chore: enable translated languages (#31779)
Languages bs, sv and tr are largely translated. Enable them by default.
2025-03-18 00:07:09 +01:00
Sattam
a88f2a8fc5
fix: prioritize English language selection for Guest user despite additional browser language settings
Description:
- Resolved an issue where the system incorrectly activated a non-English language for Guest users, even when English was the primary language in the browser settings.
- The bug occurred when additional languages (e.g., Arabic) were configured in the browser and one of those languages was already enabled in Frappe.
- Ensured that English is prioritized as the default language for Guest users when it is present in the browser language list, regardless of other enabled languages.
- Added a fix to explicitly enable English language for Guest users to prevent unintended language switching.

Steps to Reproduce:
- Create a new clean site and add additional languages (e.g., Arabic) in the browser settings.
- Ensure the additional language (e.g., Arabic) is already enabled in the database, which is by default.
- Observe that the system switches to the non-English translation (e.g., Arabic) for Guest users, even if English is the primary language in the browser settings.

Root Cause Analysis:
- Initially suspected `translate.py` was involved in language resolution.
- Checked enabled languages at the console using:
  `frappe.get_all("Language", filters={"enabled": 1}, pluck="name")`
  Result: ['fr', 'fa', 'es', 'de', 'ar']
- Identified that English was not enabled in the system, despite being a default requirement.
- Traced the issue to `languages.csv`, where English was not included among the enabled languages.

Fix:
- Enabled English in `languages.csv` to ensure it is included among the supported languages.
- This ensures English is chosen when included in the browser settings, resolving the issue.
2025-03-11 04:02:40 +03:00
barredterra
90610a7e8e feat: In-Context Translation 2024-03-27 12:53:15 +01:00
barredterra
0e573fc77e feat: move languages to CSV file, add enabled property
Only enable supported laguages.
2024-03-27 00:18:36 +01:00