US2002123878A1PendingUtilityA1
Mechanism for internationalization of web content through XSLT transformations
Est. expiryFeb 5, 2021(expired)· nominal 20-yr term from priority
Inventors:Laura Menke
G06F 40/154G06F 40/131G06F 40/40G06F 40/242G06F 40/143
41
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
A method for internationalizing content of an electronic document, which may be mbodied on a computer readable medium, wherein the method includes the steps of ssociating a predefined parameter with content in a source web page to be translated, and inserting entries corresponding to translations of the content in the source web page into n indexable dictionary file. The method further includes application of a dictionary riven stylesheet to the source web page in order to retrieve a translation of a particular ext string from the indexable dictionary file.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for internationalizing content of an electronic document comprising:
associating a predefined parameter with content in a source web page to be translated; and inserting entries corresponding to translations of the content in the source web page into an indexable dictionary file, wherein a dictionary driven stylesheet may be applied to the source web page in order to retrieve a translation of a particular text string from the indexable dictionary file.
2 . The method of claim 1 , wherein the associating step comprises associating an NLSID with textual content in the source web page to be translated, the NLSID being associated with the textual content in markup language code supporting the source web page.
3 . The method of claim 1 , wherein inserting entries comprises:
locating a root entry corresponding to the source web page; inserting a sub-root entry corresponding to a term to be translated; and inserting at least one translation entry as a sub-entry of the sub-root entry.
4 . The method of claim 1 , wherein the application of the dictionary driven stylesheet comprises:
locating textual content having the predefined parameter associated therewith in the source web page; indexing into the dictionary file to find a root entry corresponding to the predefined parameter; indexing into sub-root entries to find an entry corresponding to the textual content; and indexing into children of the sub-root entries to find a translation entry for textual content.
5 . The method of claim 4 , wherein the step of indexing into the children of the subroot entries further comprises:
determining a target language; and indexing into the children of the sub-root entry to find a child entry corresponding to the target language.
6 . The method of claim 4 , wherein the step of indexing into the dictionary file further comprises indexing into the dictionary file to find a root entry that matches an NLSID associated with the textual content.
7 . The method of claim 1 , the method further comprising the steps of:
generating the indexable dictionary file with a markup language; and generating the generic dictionary driven stylesheet with a markup language.
8 . The method of claim 7 , wherein the indexable dictionary file further comprises at least one root entry corresponding to an NLSID associated with a portion of text to be translated from the source web page, at least one sub-root entry corresponding to the text to be translated, and at least one child sub-root entry corresponding to the available translations for the portion of text.
9 . The method of claim 7 , wherein the dictionary driven stylesheet further comprises at least one template match operation configured to copy all untouched nodes from a source document to a destination document, and at lest one template match statement configured to translate text in the source document via access into the indexable dictionary file.
10 . The method of claim 1 , wherein the electronic document further comprises a web page.
11 . The method of claim 1 , wherein the stylesheet further comprises a generic dictionary driven stylesheet that may be reused for various applications.
12 . A method for translating text in an electronic document comprising:
inserting a predetermined parameter into a source code of the electronic document, the predetermined parameter indicating that an associated portion of text is to be translated; inserting an entry representing a translation of the associated portion of text into an electronic dictionary file; and applying a dictionary driven generic stylesheet to the electronic document in order to retrieve the translation of the associated portion of text.
13 . The method of claim 12 , wherein the step of inserting a predetermined parameter comprises:
determining what portions of text are to be translated in a source document; and associating an NLSID with the portions of text determined to be translated in the source document, the NLSID being associated with the portions of text to be translated in the source code of the source document.
14 . The method of claim 12 , wherein the source code further comprises a markup language code set.
15 . The method of claim 14 , wherein the markup language code set further comprises at least one of a hypertext markup language code set and an extensible markup language code set.
16 . The method of claim 12 , wherein the step of inserting an entry into an electronic dictionary file flurther comprises:
locating a root entry in the electronic dictionary file corresponding to the predetermined parameter; inserting a sub-root entry corresponding to the portion of text to be translated; and inserting at least one sub-root child entry, wherein each sub-root child entry corresponds to a translation of the portion of text in a particular language.
17 . The method of claim 16 , wherein the locating step fuirther comprises locating a root entry in the electronic dictionary file corresponding to an NLSID associated with the portion of text to be translated.
18 . The method of claim 12 , wherein the step of applying a dictionary driven generic stylesheet comprises:
determining at least one portion of text in a source document having the predetermined parameter associated therewith; searching in the electronic dictionary file to find a root entry corresponding to the predetermined parameter; searching in sub-root entries of the electronic dictionary to find an entry corresponding to the portion of text to be translated; and searching in children of the sub-root entries in the electronic dictionary to find a translation entry for textual content.
19 . The method of claim 18 , wherein determining at least one portion of text having the predetermined parameter associated therewith furrther comprises indexing into the source code of an electronic document to locate text having an NLSID associated therewith.
20 . The method of claim 18 , wherein searching in the electronic dictionary file to find a root entry further comprises indexing into the electronic dictionary file with an NLSID to find a root entry match.
21 . The method of claim 18 , wherein searching in children of the sub-root entries further comprises indexing into the children of the sub-root entries with a preferred language parameter to find a match.
22 . A computer readable medium storing a software program that, when executed by a computer, causes the computer to perform a method comprising:
associating a predefined parameter with content in a source web page to be translated; inserting entries corresponding to translations of the content in the source web page into an indexable dictionary file; and applying a generic dictionary driven stylesheet to the source web page, wherein the application of the stylesheet operates to retrieve a translation of a particular text string from the indexable dictionary file.
23 . The computer readable medium of claim 22 , wherein the associating step comprises associating an NLSID with textual content in the source web page to be translated, the NLSID being associated with the textual content in markup language code supporting the source web page.
24 . The computer readable medium of claim 22 , wherein inserting entries comprises:
locating a root entry corresponding to the source web page; inserting a sub-root entry corresponding to a term to be translated; and inserting at least one translation entry as a sub-entry of the sub-root entry.
25 . The computer readable medium of claim 22 , wherein applying a generic dictionary driven stylesheet comprises:
searching through the source web page to find textual content having the predefined parameter associated therewith; indexing into the dictionary file to find a root entry corresponding to the predefined parameter; indexing into sub-root entries to find an entry corresponding to the textual content; and indexing into children of the sub-root entries to find a translation entry for textual content.
26 . The computer readable medium of claim 25 , wherein the step of indexing into the children of the sub-root entries further comprises:
determining a target language; and indexing into the children of the sub-root entry to find a child entry corresponding to the target language.
27 . The computer readable medium of claim 25 , wherein the step of indexing into the dictionary file fiither comprises indexing into the dictionary file to find a root entry that matches an NLSID associated with the textual content.
28 . The computer readable medium of claim 22 , the method further comprising the steps of:
generating the indexable dictionary file with a markup language; and generating the generic dictionary driven stylesheet with a markup language.
29 . The computer readable medium of claim 28 , wherein the step of generating the indexable dictionary file firrther comprises creating the indexable dictionary file, wherein the dictionary file includes at least one root entry corresponding to an NLSID associated with a portion of text to be translated from the source web page, at least one sub-root entry corresponding to the text to be translated, and at least one child sub-root entry corresponding to the available translations for the portion of text.
30 . The computer readable medium of claim 28 , wherein the step of generating the generic dictionary driven stylesheet further comprises creating the generic dictionary driven stylesheet, wherein the generic dictionary driven stylesheet includes at least one template match operation configured to copy all untouched nodes from a source document to a destination document, and at lest one template match statement configured to translate text in the source document via access into the indexable dictionary file.
31 . A computer readable medium storing a software program that, when executed by a processor, causes the processor to perform a method comprising:
inserting a predetermined parameter into a source code of the electronic document, the predetermined parameter indicating that an associated portion of text is to be translated; inserting an entry representing a translation of the associated portion of text into an electronic dictionary file; and applying a dictionary driven generic stylesheet to the electronic document in order to retrieve the translation of the associated portion of text.
32 . The computer readable medium of claim 31 , wherein the step of inserting a predetermined parameter comprises:
determining what portions of text are to be translated in a source document; and associating an NLSID with the portions of text determined to be translated in the source document, the NLSID being associated with the portions of text to be translated in the source code of the source document.
33 . The computer readable medium of claim 31 , wherein the source code further comprises a markup language code set.
34 . The computer readable medium of claim 33 , wherein the markup language code set fiuther comprises at least one of a hypertext markup language code set and an extensible markup language code set.
35 . The computer readable medium of claim 31 , wherein the step of inserting an entry into an electronic dictionary file fiuther comprises:
locating a root entry in the electronic dictionary file corresponding to the predetermined parameter; inserting a sub-root entry corresponding to the portion of text to be translated; and inserting at least one sub-root child entry, wherein each sub-root child entry corresponds to a translation of the portion of text in a particular language.
36 . The computer readable medium of claim 35 , wherein the locating step further comprises locating a root entry in the electronic dictionary file corresponding to an NLSID associated with the portion of text to be translated.
37 . The computer readable medium of claim 31 , wherein the step of applying a dictionary driven generic stylesheet comprises:
determining at least one portion of text in a source document having the predetermined parameter associated therewith; searching in the electronic dictionary file to find a root entry corresponding to the predetermined parameter; searching in sub-root entries of the electronic dictionary to find an entry corresponding to the portion of text to be translated; and searching in children of the sub-root entries in the electronic dictionary to find a translation entry for textual content.
38 . The computer readable medium of claim 37 , wherein determining at least one portion of text having the predetermined parameter associated therewith firther comprises indexing into the source code of an electronic document to locate text having an NLSID associated therewith.
39 . The computer readable medium of claim 37 , wherein searching in the electronic dictionary file to find a root entry fuirther comprises indexing into the electronic dictionary file with an NLSID to find a root entry match.
40 . The computer readable medium of claim 37 , wherein searching in children of the sub-root entries fuirther comprises indexing into the children of the sub-root entries with a preferred language parameter to find a match.
41 . An apparatus for translating text in electronic documents, the apparatus comprising a memory having a translation program stored therein, and a processor in communication with the memory, wherein the processor is configured to execute the program stored in the memory, the computer program being configured to:
determine at least one portion of text in a source document having the predetermined parameter associated therewith; search in an electronic dictionary file to find a root entry corresponding to the predetermined parameter; search in sub-root entries of the electronic dictionary to find an entry corresponding to the portion of text to be translated; and search in children of the sub-root entries in the electronic dictionary to find a translation entry for textual content.
42 . The apparatus of claim 41 , wherein determining at least one portion of text having the predetermined parameter associated therewith further comprises indexing into the source code of an electronic document to locate text having an NLSID) associated therewith.
43 . The apparatus of claim 41 , wherein searching in the electronic dictionary file to find a root entry futer comprises indexing into the electronic dictionary file with an NLSID to find a root entry match.
44 . The apparatus of claim 41 , wherein searching in children of the sub-root entries fuither comprises indexing into the children of the sub-root entries with a preferred language parameter to find a match.Join the waitlist — get patent alerts
Track US2002123878A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.