IP Library Granted Patent US 6,964,014
Granted Patent B1
US 6,964,014 · App. 09/784,872 · Granted Nov 8, 2005

Method and system for localizing Web pages

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,964,014
App. No.
09/784,872
Granted
Nov 8, 2005
Kind
B1
Abstract

A computer implemented method for localizing Web pages is disclosed. The method includes reading a computer file containing HTML tags and scripts and identifying character strings located between the HTML tags and within the scripts. A modified version of the computer file is generated by replacing the identified character strings with variables. An include file containing the variables and associated character strings is also generated. The method further includes adding a reference to the include file in the modified version of the computer file.

Claims (59)

1. A computer implemented method for localizing Web pages, the method comprising:

reading a computer file containing HTML, tags and scripts;

identifying character strings located between the HTML tags and within the scripts;

generating a modified version of the computer file by replacing the identified character strings with variables;

generating an include file containing the variables and associated character strings;

adding a reference to the include file in the modified version of the computer file; and

translating the character strings of the include file to a language different than that of the character strings in the original computer file;

wherein adding a reference to the include file comprises adding a reference to the translated include file;

wherein the modified version of the computer file and the include file is stored in a Web server connected to the Internet;

wherein adding a reference to the include file comprises adding a reference to a translated version of the include file based on a user requesting a Web page from the Web server;

wherein the computer file is read into a buffer, and a localizer searches for comments, wherein, if comments are found, the comments are each replaced with a comment token and added to a comment dictionary, the localizer further searches for scripts, wherein, if scripts are found, the scripts are each replaced with a script token and added to a script dictionary, the localizer further searches for HTML tags, wherein, if HTML tags are found, the HTML tags are each replaced with an HTML tag token and added to a tag dictionary, the localizer further searches for key words, wherein, if key words are found, the key words are each replaced with a key word token and added to a key word dictionary, whereby only the tokens and text strings are remaining thereafter.

2. The method of claim 1 wherein the computer file is an ASP file.

3. The method of claim 1 wherein generating an include file comprises generating a VBScript file.

4. A computer program product for localizing Web pages, comprising:

computer code that reads a computer file containing HTML tags and scripts;

computer code that identifies character strings located between the HTML tags and within the scripts;

computer code that generates an include file containing the variables and associated character strings;

computer code that adds a reference to the include file in the modified version of the computer file; and

computer code that translates the character strings of the include file to a language different than that of the character strings in the original computer file;

a computer readable medium that stores the computer code;

wherein adding a reference to the include file comprises adding a reference to the translated include file;

wherein the modified version of the computer file and the include file is stored in a Web server connected to the Internet;

wherein adding a reference to the include file comprises adding a reference to a translated version of the include file based on a user requesting a Web page from the Web server;

wherein the computer file is read into a buffer, and a localizer searches for comments, wherein, if comments are found, the comments are each replaced with a comment token and added to a comment dictionary, the localizer further searches for scripts, wherein, if scripts are found, the scripts are each replaced with a script token and added to a script dictionary, the localizer further searches for HTML tags, wherein, if HTML tags are found, the HTML tags are each replaced with an HTML tag token and added to a tag dictionary, the localizer further searches for key words, wherein, if key words are found, the key words are each replaced with a key word token and added to a key word dictionary, whereby only the tokens and text strings are remaining thereafter.

5. The computer product of claim 4 wherein the computer readable medium is selected from the group comprising of CD-ROM, zip disk, floppy disk, tape, flash memory, system memory, and hard drive.

6. A system for localizing Web pages, the system comprising:

a processor operable to read a computer file containing HTML tags and scripts, identify character strings located between the HTML tags and within the scripts, generate a modified version of the computer file by replacing the identified character strings with variables, generate an include file containing the variables and associated character strings, and add a reference to the include file in the modified version of the computer file; and

a memory device for storing the modified version of the computer file and the include file;

wherein the character strings of the include file are translated to a language different than that of the character strings in the original computer file;

wherein adding a reference to the include file comprises adding a reference to the translated include file;

wherein the modified version of the computer file and the include file is stored in a Web server connected to the Internet;

wherein adding a reference to the include file comprises adding a reference to a translated version of the include file based on a user requesting a Web page from the Web server;

wherein the computer file is read into a buffer, and a localizer searches for comments, wherein, if comments are found, the comments are each replaced with a comment token and added to a comment dictionary, the localizer further searches for scripts, wherein, if scripts are found, the scripts are each replaced with a script token and added to a script dictionary, the localizer further searches for HTML tags, wherein, if HTML tags are found, the HTML tags are each replaced with an HTML tag token and added to a tag dictionary, the localizer further searches for key words, wherein, if key words are found, the key words are each replaced with a key word token and added to a key word dictionary, whereby only the tokens and text strings are remaining thereafter.

7. A method for preparing a computer file for translation by a translator application, the method comprising:

reading the computer file;

identifying character strings within the computer file and separating the character strings from functional strings in the file;

replacing the identified character strings with variables to create a modified version of the computer file;

generating a reference file containing the variables and associated character strings, the reference file being configured for translation by the translator application; and

adding a reference to the reference file within the modified computer file;

wherein the character strings of the reference file are translated to a language different than that of the character strings in the original computer file;

wherein adding a reference to the reference file comprises adding a reference to the translated reference file;

wherein adding a reference to the reference file comprises adding a reference to a translated version of the reference file based on a user requesting a Web page from the Web server;

wherein the computer file is read into a buffer, and a localizer searches for comments, wherein, if comments are found, the comments are each replaced with a comment token and added to a comment dictionary, the localizer further searches for scripts, wherein, if scripts are found, the scripts are each replaced with a script token and added to a script dictionary, the localizer further searches for HTML tags, wherein, if HTML tags are found, the HTML tags are each replaced with an HTML tag token and added to a tag dictionary, the localizer further searches for key words, wherein, if key words are found, the key words are each replaced with a key word token and added to a key word dictionary, whereby only the tokens and text strings are remaining thereafter.

8. The method of claim 7 wherein the computer file is an HTML file containing HTML tags.

9. The method of claim 7 wherein the computer file is an ASP file.

10. The method of claim 7 wherein generating a reference file comprises generating a server side include file.

11. The method of claim 10 wherein the include file is a VBScript file.

12. The method of claim 1 wherein the text strings are parsed, extracted and added to a text string dictionary for being sorted by string length.

13. The method of claim 12 wherein the localizer parses the scripts by pulling a first script from the script dictionary and searching for text strings within the first script, wherein each text string is added to a script-string dictionary.

14. The method of claim 13 wherein the localizer pulls each text string from the script-string dictionary and searches for string items.

15. The method of claim 14 wherein the string items are replaced with tokens in the first script.

16. The method of claim 15 wherein each string from the script-string dictionary is converted to a variable and is searched for HTML tags.

17. The method of claim 16 wherein each HTML tag is replaced with a token and added to a script-tag dictionary.

18. The method of claim 17 wherein the strings within the script-string dictionary are searched for text strings, and each text string is added to a sub-string dictionary.

19. The method of claim 18 wherein each text string from the sub-string dictionary is replaced with a variable.

20. The method of claim 19 wherein null strings are removed.

21. The method of claim 20 wherein the localizer replaces all of the HTML tag tokens with original HTML tags.

22. The method of claim 21 wherein the buffer is searched for text strings from the string dictionary, and each text string is replaced with a variable.

23. The method of claim 22 wherein the comment tokens, the keyword tokens, the HTML tag tokens, and the script tokens are replaced with the corresponding original comment, keyword, tag, and script, respectively.

Assignments (7)
RELEASE OF INTELLECTUAL PROPERTY COLLATERAL - REEL/FRAME 045056/0676 Recorded Mar 2, 2022
From: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
To: MCAFEE, LLC
Reel/Frame 059354/0213 →
RELEASE OF INTELLECTUAL PROPERTY COLLATERAL - REEL/FRAME 045055/0786 Recorded Oct 26, 2020
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: MCAFEE, LLC
Reel/Frame 054238/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENT 6336186 PREVIOUSLY RECORDED ON REEL 045055 FRAME 786. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Oct 22, 2020
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 055854/0047 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENT 6336186 PREVIOUSLY RECORDED ON REEL 045056 FRAME 0676. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Oct 22, 2020
From: MCAFEE, LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 054206/0593 →
SECURITY INTEREST Recorded Jan 12, 2018
From: MCAFEE, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 045055/0786 →
SECURITY INTEREST Recorded Jan 12, 2018
From: MCAFEE, LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 045056/0676 →
CHANGE OF NAME AND ENTITY CONVERSION Recorded Aug 24, 2017
From: MCAFEE, INC.
To: MCAFEE, LLC
Reel/Frame 043665/0918 →