发明名称 Client-side localization of network pages
摘要 Disclosed are various embodiments for client-side internationalization of network pages. A network page and code that localizes the network page are obtained from a server. The code that localizes the network page is executed in a client and determines a locale associated with the client. One or more internationalized elements are identified in the network page. The internationalized elements are replaced with corresponding localized translations. The network page is rendered for display in the client after the network page has been localized.
申请公布号 US8843360(B1) 申请公布日期 2014.09.23
申请号 US201113040492 申请日期 2011.03.04
申请人 Amazon Technologies, Inc. 发明人 Johnston Simon K.;Eng Margaux;Keiger James K.;Shavit Gideon
分类号 G06F17/20;G06F17/28;G06F17/21;G06F17/27;G10L21/00;G10L25/00;G06F17/00;G06F17/22;G06F17/25;G06F17/26 主分类号 G06F17/20
代理机构 Thomas | Horstemeyer, LLP 代理人 Thomas | Horstemeyer, LLP
主权项 1. A non-transitory computer-readable medium embodying at least one program executable in a first computing device, wherein the at least one program causes the first computing device to at least: postpone rendering of a network page in the first computing device and render a placeholder in place of the network page; determine a locale associated with the first computing device; identify a plurality of internationalized elements in the network page, wherein each of the plurality of internationalized elements is identified according to a corresponding attribute that indicates internationalization; send a request for a grouping of translations to a second computing device, the request specifying the locale determined by the first computing device; obtain the grouping of translations from the second computing device, the grouping of translations including at least one localized translation in a language of the locale and customized for the locale, at least one generic translation in the language of the locale but not customized for the locale, and at least one default translation not in the language of the locale; replace each of the plurality of internationalized elements in the network page with a corresponding localized translation in the grouping of translations based at least in part on the locale and a value associated with the corresponding attribute that indicates internationalization; and render the network page for display after the network page has been localized.
地址 Reno NV US