Abstract:
Sentence internationalization methods and systems are disclosed. The method may include: providing a developer interface to define an internationalized sentence syntax for an application on a social networking system, the internationalized sentence syntax for translating a natural language expression of a social graph edge of the social networking system; providing a sentence option on the developer interface to define grammar of the internationalized sentence syntax; generating a token structure including a language token to assist translation of the internationalized sentence syntax into a preferred language indicated by the language token, the token structure customizable via the developer interface to configure translation options; associating a social graph attribute with a first token of the token structure; and storing the sentence option and the token structure with the internationalized sentence syntax to facilitate run-time translation of the internationalized sentence syntax into the natural language expression in the preferred language.
Abstract:
Sentence internationalization methods and systems are disclosed. The method may include: providing a developer interface to define an internationalized sentence syntax for an application on a social networking system, the internationalized sentence syntax for translating a natural language expression of a social graph edge of the social networking system; providing a sentence option on the developer interface to define grammar of the internationalized sentence syntax; generating a token structure including a language token to assist translation of the internationalized sentence syntax into a preferred language indicated by the language token, the token structure customizable via the developer interface to configure translation options; associating a social graph attribute with a first token of the token structure; and storing the sentence option and the token structure with the internationalized sentence syntax to facilitate run-time translation of the internationalized sentence syntax into the natural language expression in the preferred language.
Abstract:
Sentence internationalization methods and systems are disclosed. The method may include: providing a developer interface to define an internationalized sentence syntax for an application on a social networking system, the internationalized sentence syntax for translating a natural language expression of a social graph edge of the social networking system; providing a sentence option on the developer interface to define grammar of the internationalized sentence syntax; generating a token structure including a language token to assist translation of the internationalized sentence syntax into a preferred language indicated by the language token, the token structure customizable via the developer interface to configure translation options; associating a social graph attribute with a first token of the token structure; and storing the sentence option and the token structure with the internationalized sentence syntax to facilitate run-time translation of the internationalized sentence syntax into the natural language expression in the preferred language.
Abstract:
Sentence internationalization methods and systems are disclosed. The method may include: providing a developer interface to define an internationalized sentence syntax for an application on a social networking system, the internationalized sentence syntax for translating a natural language expression of a social graph edge of the social networking system; providing a sentence option on the developer interface to define grammar of the internationalized sentence syntax; generating a token structure including a language token to assist translation of the internationalized sentence syntax into a preferred language indicated by the language token, the token structure customizable via the developer interface to configure translation options; associating a social graph attribute with a first token of the token structure; and storing the sentence option and the token structure with the internationalized sentence syntax to facilitate run-time translation of the internationalized sentence syntax into the natural language expression in the preferred language.