Page MenuHomePhabricator

"Wikipedia-ios-top-read-reader-count-thousands" is hard to translate
Closed, ResolvedPublic1 Estimated Story Points

Description

At least in Dutch, we don't have a short word for thousands. This makes the message Wikipedia-ios-top-read-reader-count-thousands really hard to translate. Could it be possible to just write the whole number in some languages?

Event Timeline

Localization is currently already being applied on the thousand abbreviation where a different one exists in other languages when the iOS language is changed, for example:

German
Simulator Screen Shot Sep 28, 2016, 8.09.34 PM.png (1×750 px, 139 KB)
Chinese
Simulator Screen Shot Sep 28, 2016, 8.03.41 PM.png (1×750 px, 129 KB)
Russian
Simulator Screen Shot Sep 28, 2016, 8.06.56 PM.png (1×750 px, 136 KB)

Where no localized abbrieviation exists, 'K' appears to be used as the default standard representation instead, as per the SI (International System of Units).

So for Dutch if 'k' is not well recognized, seems the solution per ticket description would be to override this for Dutch and just use the full number instead.

@Sjoerddebruin I'm proposing an update to the code such that a translation of just "$1" results in the full number being shown. The keys are number-thousands, number-millions and number-billions:

"number-thousands" = "$1k - $1 is replaced with a number represented in thousands. In English the letter 'k' is commonly used after a number to indicate that number is in 'thousands'. So the letter 'k' should be changed to a character or short string indicating thousands. For example 500,000 would become 500k. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";
"number-millions" = "$1m - $1 is replaced with a number represented in millions. In English 'm' is commonly used after a number to indicate that number is in 'millions'. So the 'm' should be changed to a character or short string indicating millions. For example 500,000,000 would become 500m. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";
"number-billions" = "$1b - $1 is replaced with a number represented in billions. In English 'b' is commonly used after a number to indicate that number is in 'billions'. So the 'b' should be changed to a character or short string indicating billions. For example 5,000,000,000 would become 5b. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";

Let me know if this makes sense and works for you. Thanks!

JoeWalsh set the point value for this task to 1.

@Sjoerddebruin I'm proposing an update to the code such that a translation of just "$1" results in the full number being shown. The keys are number-thousands, number-millions and number-billions:

"number-thousands" = "$1k - $1 is replaced with a number represented in thousands. In English the letter 'k' is commonly used after a number to indicate that number is in 'thousands'. So the letter 'k' should be changed to a character or short string indicating thousands. For example 500,000 would become 500k. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";
"number-millions" = "$1m - $1 is replaced with a number represented in millions. In English 'm' is commonly used after a number to indicate that number is in 'millions'. So the 'm' should be changed to a character or short string indicating millions. For example 500,000,000 would become 500m. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";
"number-billions" = "$1b - $1 is replaced with a number represented in billions. In English 'b' is commonly used after a number to indicate that number is in 'billions'. So the 'b' should be changed to a character or short string indicating billions. For example 5,000,000,000 would become 5b. If there is no simple translation for this in the target language, make the translation $1 with no other characters and the full number will be shown.";

Let me know if this makes sense and works for you. Thanks!

Sounds good to me!