Skip to content

search output: consider localizing thousand groups in download count #4223

Open

Description

Currently download count is shown as thousand counts using k shortening.
k is culture specific and should be localized.
In Turkish b is used instead of k.

Moreover, in Japanese structure of groups is different: https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns#h.eradhhuxzqqz

Code Meaning English Pattern English Formatted Example Japanese Pattern Japanese Formatted Example
4-digit-short-one (1000) 1 thousand = 1,000 0K 1K 0 (see translation tip below) 1
5-digit-short-one (10000) 10,000 00K 12K 0万 1万
6-digit-short-one (100000) 100,000 000K 123K 00万 12万
7-digit-short-one (1000000) 1,000,000 0.0M 1.2M 000万 123万
8-digit-short-one (10000000) 10,000,000 00M 12M 0000万 1234万
9-digit-short-one (100000000) 100,000,000 000M 123M 0億 1 億
10-digit-short-one (1000000000) 1,000,000,000 0B 1B 00億 12億
11-digit-short-one (10000000000) 10,000,000,000 00B 12B 000億 123億
12-digit-short-one (100000000000) 100,000,000,000 000B 123B 0000億 1234億
13-digit-short-one (1000000000000) 1,000,000,000,000 0T 1T 0兆 1兆
14-digit-short-one (10000000000000) 10,000,000,000,000 00T 12T 00兆 12兆
15-digit-short-one (100000000000000) 100,000,000,000,000 000T 123T 000兆 123兆

Originally posted by @bekir-ozturk in #4189 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Priority:3Work that is nice to havearea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions