UTW 2023

Localization
Internationalization

Automatic Grammar Agreement in Message Formatting

George Rhoten

on  Wed, 9:00in  Atomic Clockfor  40min

Formatting messages to display in a user interface has improved in capability over the years. For example, CLDR and ICU have provided the ability to format dates and numbers for various languages and regions. They have provided the capability to choose the correct singular, dual and plural forms of phrases for various languages. They have provided the capability to choose the correct grammatical gender or natural gender of phrases for various languages. Much of this functionality works well when the set of words used in the message are known when translating into another language. Unfortunately, the available message formatting frameworks fail to create grammatically correct sentences when messages reference user defined vocabulary. We present Automatic Grammar Agreement - a feature which was developed to overcome these challenges. It allows messages to have grammatically correct nouns, adjectives, articles and prepositions with minimal input from localizers.

 Overview  Program