CREATING AND IMPLEMENTING LANGUAGE-DEPENDENT STRING PLURALIZATIONS
    1.
    发明申请
    CREATING AND IMPLEMENTING LANGUAGE-DEPENDENT STRING PLURALIZATIONS 有权
    创建和实施语言相关的STRING集体化

    公开(公告)号:US20120290284A1

    公开(公告)日:2012-11-15

    申请号:US13103916

    申请日:2011-05-09

    IPC分类号: G06F17/28

    CPC分类号: G06F17/2872

    摘要: 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.

    摘要翻译: 实施例涉及将适当的多元化规则应用于文本串并产生用于多种不同语言的多重规则。 在一个实施例中,计算机系统识别用户界面(UI)文本串,其包括要确定适当的复合形式的数值。 字符串由资源标识符(ID)表示。 计算机系统接收指示要在其中显示文本串的语言的指示,并基于数字量和所确定的语言从一组预先生成的资源ID中确定适当的资源ID。 预生成的资源ID包括用于本地化文本串的各种特定于语言的复数形式。 计算机系统还将所确定的适当资源ID的本地化文本字符串返回到UI以进行显示。 以这种方式,本地化的文本串以所指示的语言的数字量和适当的多元化呈现。

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

    公开(公告)号:US08862455B2

    公开(公告)日:2014-10-14

    申请号:US13103916

    申请日:2011-05-09

    IPC分类号: G06F17/28

    CPC分类号: G06F17/2872

    摘要: 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.

    摘要翻译: 实施例涉及将适当的多元化规则应用于文本串并产生用于多种不同语言的多重规则。 在一个实施例中,计算机系统识别用户界面(UI)文本串,其包括要确定适当的多元化形式的数值。 字符串由资源标识符(ID)表示。 计算机系统接收指示要在其中显示文本串的语言的指示,并基于数字量和所确定的语言从一组预先生成的资源ID中确定适当的资源ID。 预生成的资源ID包括用于本地化文本串的各种特定于语言的复数形式。 计算机系统还将所确定的适当资源ID的本地化文本字符串返回到UI以进行显示。 以这种方式,本地化的文本串以所指示的语言的数字量和适当的多元化呈现。