You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translated spelling is not idiomatic in some languages.
In Chinese (zh), people are used to using Arabic numerals instead of spelling format 2, which represents the quantity, is not translated (extra, it should not be translated as "二", it should be "两"). Craft uses the following code:
@brandonkelly I will submit a PR next. The problem is not as simple as I thought. Changing {count, spellout} to {count} will cause the message to be inconsistent with the translation: In the Chinese environment, Intl will complain about plural and throw an exception, causing a fallback to the original translation.
What happened?
Description
Translated spelling is not idiomatic in some languages.
In Chinese (zh), people are used to using Arabic numerals instead of spelling format
2
, which represents the quantity, is not translated (extra, it should not be translated as "二", it should be "两"). Craft uses the following code:Steps to reproduce
Expected behavior
2 => 2
Actual behavior
2 => 二
Craft CMS version
5.0
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: