The discussion is about an issue with custom header link locales not working as expected for languages with an underscore (_) in the string, such as zh_CN. Michael_Liu reported that languages like fr, ca, and en work smoothly, but zh_CN does not. awesomerobot suggested using a dash (-) instead of an underscore, as in zh-CN, which is the web format. A pull request has been made to allow both - and _ to work. Michael_Liu also asked if it’s possible to have multiple languages point to one locale string setting, but awesomerobot said it’s not currently possible. Jagster suggested using just ‘en’ instead of ‘en-US’ or ‘en-UK’, but Michael_Liu explained that ‘en’ presents different translations for en-US and en-UK.
במהלך ניסיונותי לתקנן את קישורי הכותרת המותאמים אישית כך שיתרחשו תצוגה לפי השפה (locale) המסוימת, הבנתי שהתכונה הזאת לא פועלת כפי שציפיתי בכמה שפות כגון zh_CN ו-en_BG… נראה שככל שיש “_” במרכז המחרוזת, זה לא עובד, אך עבור “fr” “ca” ו-en"… הם עובדים בקלות.
מה שניסיתי כבר:
ראשית, הגדרתי את שפת הפורום ל"en" ואז הגדרתי את שפת קישור הכותרת המותאמת אישית ל-zh_CN
התחברתי עם משתמש רגיל נוסף והגדרתי את שפת הממשק ל-zh_CN, ואז הכותרת לא הופיעה.
לאחר מכן ניסיתי גם להגדיר את שפת הפורום ל"en" ואז להגדיר את שפת קישור הכותרת המותאמת אישית ל-“ca”. התחברתי עם משתמש רגיל אחר וגם הגדרתי את שפת הממשק ל"ca", ואז הכותרת הופיעה.
זה מראה ש-zh_CN לא עובד כפי שציפינו.
אשמח מאוד אם מישהו יכול לעזור לי עם הבעיה הזאת כדי לגרום לשפת zh_CN לעבוד כראוי.
is there any possible to make multiple language points to one locale string settigns?
for example locale: “en-US, en-UK” since for me most of the cases should be the same therefore if possible to make it as one line configuration would be much better then use two exactly the same objects for only update the en-US to en-UK
you can give a try but yeah that’s not a big deal as long as I know the right way to reference the proper file which is “-” instead of “_” is good enough.