danblack, can you please talk to a native Chinese speaker if our Chinese translation (presumable Simplified) is really good for TW and HK locales? Taiwan and Honk-Kong use Traditional Chinese for my knowledge.
Alexander Barkov
added a comment - danblack , can you please talk to a native Chinese speaker if our Chinese translation (presumable Simplified) is really good for TW and HK locales? Taiwan and Honk-Kong use Traditional Chinese for my knowledge.
I'm a native Chinese speaker and did most of the Chinese error message translation work. Yes, it is in simplified characters.
For the most part, native Chinese speakers (whether from Mainland, HK, TW, or even Singapore) can read both simplified and traditional Chinese characters. However, if the host system is of HK/TW locale, usually I'd expect all info/error messages should be in traditional characters. So MariaDB displaying simplified characters on such a system may give the feeling of inconsistency.
For consistency's sake, I suggest we not make this change. When I have time, I'd be happy to convert the simplified Chinese into traditional Chinese. After that, we can make HK/TW use that.
Side note on Singapore: Chinese is the official language and I believe it uses simplified, but since English is also the official language, it probably does not need this.
Haidong Ji
added a comment - I'm a native Chinese speaker and did most of the Chinese error message translation work. Yes, it is in simplified characters.
For the most part, native Chinese speakers (whether from Mainland, HK, TW, or even Singapore) can read both simplified and traditional Chinese characters. However, if the host system is of HK/TW locale, usually I'd expect all info/error messages should be in traditional characters. So MariaDB displaying simplified characters on such a system may give the feeling of inconsistency.
For consistency's sake, I suggest we not make this change. When I have time, I'd be happy to convert the simplified Chinese into traditional Chinese. After that, we can make HK/TW use that.
Side note on Singapore: Chinese is the official language and I believe it uses simplified, but since English is also the official language, it probably does not need this.
Hello haidong. Thank you for the information (and for contributing to MariaDB)!
Do you think it's OK to bind Simplified Chinese error messages to MariaDB ZH_CN locale right now?
Everything seems to be ready for it.
Later when the Traditional Chinese translation is ready, we can bind the Traditional translation to ZH_HK and ZH_TW locales.
Does this plan sound good? Thanks.
Alexander Barkov
added a comment - - edited Hello haidong . Thank you for the information (and for contributing to MariaDB)!
Do you think it's OK to bind Simplified Chinese error messages to MariaDB ZH_CN locale right now?
Everything seems to be ready for it.
Later when the Traditional Chinese translation is ready, we can bind the Traditional translation to ZH_HK and ZH_TW locales.
Does this plan sound good? Thanks.
> Do you think it's OK to bind Simplified Chinese error messages to MariaDB ZH_CN locale right now?
Yes, I think that sounded like a safe and right thing to do.
And yes, when Traditional Chinese translation is ready, we can do the same.
Haidong Ji
added a comment - You are very welcome, @Alexander Barkov.
> Do you think it's OK to bind Simplified Chinese error messages to MariaDB ZH_CN locale right now?
Yes, I think that sounded like a safe and right thing to do.
And yes, when Traditional Chinese translation is ready, we can do the same.
One small note: can you please add a test that after setting lc_messages=ZH_CN error messaging really switches to Chinese.
Something like this should be enough:
SET lc_messages=ZH_CN;
SELECT x;
Thanks!
Alexander Barkov
added a comment - Hi danblack ,
the patch
https://github.com/MariaDB/server/pull/2499/commits/c6fcc0e41137ae9039169807680124ba04b38b5d
looks OK.
One small note: can you please add a test that after setting lc_messages=ZH_CN error messaging really switches to Chinese.
Something like this should be enough:
SET lc_messages=ZH_CN;
SELECT x;
Thanks!
People
Daniel Black
Daniel Black
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":711.5,"ttfb":138.79999995231628,"pageVisibility":"visible","entityId":119142,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"5e1a561c-4baf-4ac1-af42-b9b9ee3197c7","navigationType":0,"readyForUser":779,"redirectCount":0,"resourceLoadedEnd":866.7000000476837,"resourceLoadedStart":143.90000009536743,"resourceTiming":[{"duration":159.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":143.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":143.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":303,"responseStart":0,"secureConnectionStart":0},{"duration":158.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":144.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":144.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":303,"responseStart":0,"secureConnectionStart":0},{"duration":167.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":144.29999995231628,"connectEnd":144.29999995231628,"connectStart":144.29999995231628,"domainLookupEnd":144.29999995231628,"domainLookupStart":144.29999995231628,"fetchStart":144.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":144.29999995231628,"responseEnd":312.2000000476837,"responseStart":312.2000000476837,"secureConnectionStart":144.29999995231628},{"duration":260,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":144.29999995231628,"connectEnd":144.29999995231628,"connectStart":144.29999995231628,"domainLookupEnd":144.29999995231628,"domainLookupStart":144.29999995231628,"fetchStart":144.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":144.29999995231628,"responseEnd":404.2999999523163,"responseStart":404.2999999523163,"secureConnectionStart":144.29999995231628},{"duration":264,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":144.40000009536743,"connectEnd":144.40000009536743,"connectStart":144.40000009536743,"domainLookupEnd":144.40000009536743,"domainLookupStart":144.40000009536743,"fetchStart":144.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":144.40000009536743,"responseEnd":408.40000009536743,"responseStart":408.40000009536743,"secureConnectionStart":144.40000009536743},{"duration":264.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":144.59999990463257,"connectEnd":144.59999990463257,"connectStart":144.59999990463257,"domainLookupEnd":144.59999990463257,"domainLookupStart":144.59999990463257,"fetchStart":144.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":144.59999990463257,"responseEnd":408.90000009536743,"responseStart":408.90000009536743,"secureConnectionStart":144.59999990463257},{"duration":264.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":144.70000004768372,"connectEnd":144.70000004768372,"connectStart":144.70000004768372,"domainLookupEnd":144.70000004768372,"domainLookupStart":144.70000004768372,"fetchStart":144.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":144.70000004768372,"responseEnd":409.2999999523163,"responseStart":409.2999999523163,"secureConnectionStart":144.70000004768372},{"duration":265,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":144.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":144.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":409.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":264.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":144.90000009536743,"connectEnd":144.90000009536743,"connectStart":144.90000009536743,"domainLookupEnd":144.90000009536743,"domainLookupStart":144.90000009536743,"fetchStart":144.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":144.90000009536743,"responseEnd":409.7999999523163,"responseStart":409.7999999523163,"secureConnectionStart":144.90000009536743},{"duration":265.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":145,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":145,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":410.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":265.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":145.09999990463257,"connectEnd":145.09999990463257,"connectStart":145.09999990463257,"domainLookupEnd":145.09999990463257,"domainLookupStart":145.09999990463257,"fetchStart":145.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":145.09999990463257,"responseEnd":410.40000009536743,"responseStart":410.40000009536743,"secureConnectionStart":145.09999990463257},{"duration":663.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":152.20000004768372,"connectEnd":152.20000004768372,"connectStart":152.20000004768372,"domainLookupEnd":152.20000004768372,"domainLookupStart":152.20000004768372,"fetchStart":152.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":152.20000004768372,"responseEnd":816.0999999046326,"responseStart":816.0999999046326,"secureConnectionStart":152.20000004768372},{"duration":657,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":161.40000009536743,"connectEnd":161.40000009536743,"connectStart":161.40000009536743,"domainLookupEnd":161.40000009536743,"domainLookupStart":161.40000009536743,"fetchStart":161.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":161.40000009536743,"responseEnd":818.4000000953674,"responseStart":818.4000000953674,"secureConnectionStart":161.40000009536743},{"duration":350.2999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":466.2000000476837,"connectEnd":466.2000000476837,"connectStart":466.2000000476837,"domainLookupEnd":466.2000000476837,"domainLookupStart":466.2000000476837,"fetchStart":466.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":466.2000000476837,"responseEnd":816.5,"responseStart":816.5,"secureConnectionStart":466.2000000476837},{"duration":114.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":704.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":704.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":819.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":40.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":819.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":819.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":860.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":41.200000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":820.5,"connectEnd":820.5,"connectStart":820.5,"domainLookupEnd":820.5,"domainLookupStart":820.5,"fetchStart":820.5,"redirectEnd":0,"redirectStart":0,"requestStart":820.5,"responseEnd":861.7000000476837,"responseStart":861.7000000476837,"secureConnectionStart":820.5},{"duration":45.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":820.9000000953674,"connectEnd":820.9000000953674,"connectStart":820.9000000953674,"domainLookupEnd":820.9000000953674,"domainLookupStart":820.9000000953674,"fetchStart":820.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":820.9000000953674,"responseEnd":866.7000000476837,"responseStart":866.7000000476837,"secureConnectionStart":820.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":16,"responseStart":139,"responseEnd":161,"domLoading":142,"domInteractive":917,"domContentLoadedEventStart":917,"domContentLoadedEventEnd":970,"domComplete":1129,"loadEventStart":1129,"loadEventEnd":1129,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":878.9000000953674},{"name":"bigPipe.sidebar-id.end","time":879.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":879.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":881.9000000953674},{"name":"activityTabFullyLoaded","time":988.5}],"measures":[],"correlationId":"7880d56f89fb83","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":74,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/pull/2487
What do you think?