I'm writing a program and need to know how dates, versions, time, and numbers are formatted in Chinese.
Example (in English):
Version 1.0.0 (Build 0)
How would that look in Chinese?
Chinese Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Chinese language. It only takes a minute to sign up.Sign up to join this community
Micheal's answer is good, but it's from a programmer point of view. Mine's from a Mandarin speaker's point of view.
Version: 版本 Major version: 主版本 Minor version: 子版本 Revision: 修正版本 Build: 编译版本 Number: 号
According to Baidu
GNU Style zh: 主版本号.子版本号[.修正版本号[.编译版本号]] en: Major_Version_Number.Minor_Version_Number[.Revision_Number[.Build_Number]] e.g.: 1.2.1, 2.0, 5.0.0 build-13124 Windows Style zh: 主版本号.子版本号[修正版本号[.编译版本号]] en: Major_Version_Number.Minor_Version_Number[Revision_Number[.Build_Number]] e.g.: 1.21, 2.0 .Net Framework Style zh: 主版本号.子版本号[.编译版本号[.修正版本号]] en: Major_Version_Number.Minor_Version_Number[.Build_Number[.Revision_Number]] e.g.: 188.8.131.52
This is a straight copy and paste so I don't take any credit for it. You should be able to match them up individually without needing any knowledge of Chinese.
Sounds like you should investigate the localization features of your language.
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("zh-CN"); string version = strings.Version.replace('%version%', '1.0.0'); version = version.replace('%build%', '0'); Console.WriteLine(version);
With the information given in James Jiao's answer & comments, your Chinese version string and its English equivalent could be:
版本%version%（编译版本号:%build%） Version %version% (Build %build%)
For more information on localization in C#, refer to: