发明授权
- 专利标题: Creating and implementing language-dependent string pluralizations
- 专利标题(中): 创建和实现与语言相关的字符串复合
-
申请号: US13103916申请日: 2011-05-09
-
公开(公告)号: US08862455B2公开(公告)日: 2014-10-14
- 发明人: Thiti Wang Aryattawanich , Brian Charles Blomquist , David Chiu , Catherine Mary Pidgeon , Jyothi Mathew , Brian Gardner Jeans , Lawrence Michael Sanchez, II
- 申请人: Thiti Wang Aryattawanich , Brian Charles Blomquist , David Chiu , Catherine Mary Pidgeon , Jyothi Mathew , Brian Gardner Jeans , Lawrence Michael Sanchez, II
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理商 Louise Bowman; Peter Taylor; Micky Minhas
- 主分类号: G06F17/28
- IPC分类号: G06F17/28
摘要:
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.
公开/授权文献
信息查询