[Localization] Improve the Simplified Chinese Translation
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- localization
Research direction
Start from the Simplified Chinese string resources (zh-CN/zh-Hans-CN .resw files) that feed the unit converter's '约等于' (approximately equals) list, reached via the burger menu categories 体积, 长度, 重量, 能量, 面积, 速度, 功率, 数据. Locate the non-standard unit labels (e.g. soccer field area) and add the missing measure word between the numeral and the unit, applying the special '[unit]速度的 X 倍' pattern for speed. Done when each category's last approximation entry reads grammatically in Simplified Chinese and the app builds and displays it correctly.
Written by the indexing model from the issue text.
Description
Describe the bug
In Chinese, if numerals modify something to indicate quantity, a measure word is needed between them unless the thing itself is a measure word. Standard units are measure words, but non-standard units—such as (the area of) a soccer field—are not measure words and need a measure word preceding them to separate them from the numeral. This is missing in the reported version of the calculator. This omission may be a stylistic choice (presenting non-standard units as if they were standard units), or it may be unintentional, especially considering that when translating these non-standard units, the fact that they follow the numerical result of a calculation may not be obvious, seemingly as isolated words.
In Simplified Chinese:
中文中,如果数词修饰事物表示数量,除非该事物是量词,否则它们之间需要量词。标准的单位是量词,但非标准的单位,例如足球场(的面积)不是量词,前面需要量词将其与数词隔开,而这在所报告版本的计算器中缺失。这一缺失可能是风格选择(选择将非标准单位像标准单位一样呈现),也可能是无意为之,尤其是考虑到翻译这些非标准单位时,它们在计算结果的数值之后一事可能并不明显,显得像是孤立的词。
Steps To Reproduce
- Go to the burger menu
- Click on '体积,' '长度,' '重量,' '能量,' '面积,' '速度,' '功率' or '数据'
- See the error in the last item of the '约等于' list
Expected behavior
The numerical result of the calculation be separated from the non-standard unit by a measure word.
In Simplified Chinese:
计算结果的数值与非标准单位间以量词隔开。
Screenshots
Device and Application Information
- OS Build:
Major Minor Build Revision
10 0 19045 0 - Architecture: X64
- Application Version: 11.2607.0.0
- Region: zh-CN
- Dev Version Installed: False
Additional context
This revision strategy does not apply to speed because, for example, 2 times the speed of a jet aircraft is different from the speed of 2 jet aircraft, whereas the above strategy would render it as “2 jet aircraft.” In the case of speed, it can be specifically translated as “{the non-standard unit}速度的 {the numerical result of the calculation} 倍,” such as “喷气式飞机速度的 2 倍.”
In Simplified Chinese:
前面的修订方案不适用于速度,因为,例如,喷气式飞机的速度的2倍不同于2架喷气式飞机的速度,而前面的方案会将其呈现为“2架喷气式飞机”。就速度的情况,可特别译为“{非标准单位}速度的 {计算结果的数值} 倍”,例如“喷气式飞机速度的 2 倍”。
- Dominant language
- C#
- Stars
- 31.1k
- Forks
- 5.8k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/calculator
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/calculator#2532 ·
-
Area: World-Readiness
Difficulty 1/5 Under an hour Newbie friendliness 90/100
microsoft/calculator#2522 ·
-
Integer overflow in negation in ratpowi32()Possibly taken @amitdey1987 claimed this 55 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/calculator#2500 · 5 comments ·
-
Warning C4706 triggered in Grapher.cppPossibly taken @michaelbprice claimed this 302 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
microsoft/calculator#2360 ·
-
“绘图”功能并未正常画图Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
microsoft/calculator#2530 · 1 reaction ·
All issues in microsoft/calculator
Similar issues
-
[Linux] The portal's color-scheme 0 (no preference) means light, not "not known"Possibly taken @ramlanrinos claimed this today. Openarea: linux bug ready
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ZaidX88/sluice#284 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area: scaffold status: needs-tests
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
provider:flagd type:fix
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-feature/dotnet-sdk-contrib#789 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
NimblePros/Metronome#23 ·