US Patent:
20120290284, Nov 15, 2012
Inventors:
Thiti Wang Aryattawanich - Sammamish WA, US
Brian Charles Blomquist - Lynnwood WA, US
David Chiu - Issaquah WA, US
Catherine Mary Pidgeon - Seattle WA, US
Jyothi Mathew - Redmond WA, US
Brian Gardner Jeans - Snoqualmie WA, US
Assignee:
MICROSOFT CORPORATION - Redmond WA
International Classification:
G06F 17/28
Abstract:
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.