发明授权
US08862455B2 Creating and implementing language-dependent string pluralizations 有权
创建和实现与语言相关的字符串复合

Creating and implementing language-dependent string pluralizations
摘要:
Embodiments are directed to applying appropriate pluralization rules to text strings and to generating pluralization rules for multiple different languages. In an embodiment, a computer system identifies a user interface (UI) text string that includes a numerical amount for which an appropriate pluralization form is to be determined. The string is represented by a resource identifier (ID). The computer system receives an indication indicating which language the text string is to be displayed in and determines an appropriate resource ID from a set of pre-generated resource IDs based on the numerical amount and the determined language. The pre-generated resource IDs include various language-specific pluralization forms for localization of the text string. The computer system also returns the localized text string at the determined appropriate resource ID to the UI for display. In this manner, the localized text string is presented with the numerical amount and proper pluralization in the indicated language.
信息查询
0/0