IP Library Granted Patent US 12,450,421
Granted Patent B2
US 12,450,421 · App. 17/695,107 · Granted Oct 21, 2025

Non-obtrusive markup augmentation for website localization

Inventor: Marcus Lenzner (Statdtroda, DE)
Assignee: Salesforce, Inc.
G06F40/143G06F40/106G06F40/117G06F40/40
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 12,450,421
App. No.
17/695,107
Granted
Oct 21, 2025
Kind
B2
Abstract

Disclosed herein are system, method, and computer program product embodiments for providing a non-obtrusive markup augmentation of websites during website localization. A method includes generating a localization descriptor for a localization element on a website, encoding the localization descriptor into unparsed syntax in code for the website, adding pseudo tag notations to the localization descriptor encoded in the unparsed syntax, extracting text that is being localized from the localization descriptor by identifying the pseudo tag notations, and creating a visual indicator for display as an overlay outside a visible area of the website to indicate a change in appearance of the website after localization, wherein a size of the visual indicator is scaled to match a size of the text as displayed in the visible area of the website when the code is rendered.

Claims (48)

1. A method comprising:

generating, by at least one processor, a localization descriptor for a localization element on a website;

encoding, by the at least one processor, the localization descriptor into unparsed syntax in code for the website;

adding, by the at least one processor, pseudo tag notations to the localization descriptor encoded in the unparsed syntax;

extracting, by the at least one processor, text that is being localized from the localization descriptor by identifying the pseudo tag notations;

creating, by the at least one processor, a visual indicator for display as an overlay outside of a visible area of the website to indicate a change in appearance of the website after localization, wherein a size of the visual indicator is scaled to match a size of the text as displayed in the visible area of the website when the code is rendered, and wherein the visual indicator indicates a visual comparison of a change in size of the text that is being localized;

adding, by the at least one processor, a user interface to the visual indicator, also displayed outside of the visible area of the website, for user input of localized text responsive to a user interaction with the visual indicator on the website, a size of the localized text being scaled to match the size of the text as displayed in the visible area of the website; and

adding, by the at least one processor, an identifier to the visual indicator, displayed in conjunction with the localized text responsive to a user interaction with the visual indicator on the website, wherein the localized text is editable through a lookup of the identifier.

2. The method of claim 1 , wherein the localization descriptor comprises a key and value pair corresponding to the localization element and bundle information indicating a location of the key and value pair.

3. The method of claim 1 , wherein the unparsed syntax comprises a Hypertext Markup Language (HTML) comment and the code for the website comprises HTML code.

4. The method of claim 1 , wherein the pseudo tag notations comprise an opening pseudo tag notation and a closing pseudo tag notation, wherein the opening and the closing pseudo tag notations indicate a starting point and an ending point, respectively, for text that is being localized in the localization element.

5. The method of claim 1 , wherein the change in appearance of the website comprises a change in a length of the text that is being localized, and wherein the visual indicator shows the change in the length of the text to a user of the website.

6. The method of claim 3 , further comprising:

identifying, by the at least one processor, the size of the text that is being localized from the localization descriptor, wherein the size of the text that is being localized corresponds to dimensions of a region of the website displayed when the HTML code is rendered.

7. The method of claim 1 , further comprising:

adding, by the at least one processor, a user interaction to the visual indicator in response to receiving a user input, wherein the user interaction comprises at least one of showing information from the localization descriptor or highlighting a region of the visible area of the website corresponding to the text that is being localized.

8. A system comprising:

a memory; and

a processor coupled to the memory, wherein the processor is configured to:

generate a localization descriptor for a localization element on a website;

encode the localization descriptor into unparsed syntax in code for the website;

add pseudo tag notations to the localization descriptor encoded in the unparsed syntax;

extract text that is being localized from the localization descriptor by identifying the pseudo tag notations;

create a visual indicator for display as an overlay outside of a visible area of the website to indicate a change in appearance of the website after localization, wherein a size of the visual indicator is scaled to match a size of the text as displayed in the visible area of the website when the code is rendered, and wherein the visual indicator indicates a visual comparison of a change in size of the text that is being localized;

add a user interface to the visual indicator, also displayed outside of the visible area of the website, for user input of localized text responsive to a user interaction with the visual indicator on the website, a size of the localized text being scaled to match the size of the text as displayed in the visible area of the website; and

add an identifier to the visual indicator, displayed in conjunction with the localized text responsive to a user interaction with the visual indicator on the website, wherein the localized text is editable through a lookup of the identifier.

9. The system of claim 8 , wherein the localization descriptor comprises a key and value pair corresponding to the localization element and bundle information indicating a location of the key and value pair.

10. The system of claim 8 , wherein the unparsed syntax comprises a Hypertext Markup Language (HTML) comment and the code for the website comprises HTML code.

11. The system of claim 8 , wherein the pseudo tag notations comprise an opening pseudo tag notation and a closing pseudo tag notation.

12. The system of claim 11 , wherein the opening and the closing pseudo tag notations indicate a starting point and an ending point, respectively, for text that is being localized in the localization element.

13. The system of claim 10 , wherein the processor is further configured to:

identify the size of the text that is being localized from the localization descriptor, wherein the size of the text that is being localized corresponds to dimensions of a region of the website displayed when the HTML code is rendered.

14. The system of claim 8 , wherein the processor is further configured to:

add a user interaction to the visual indicator in response to receiving a user input, wherein the user interaction comprises at least one of showing information from the localization descriptor or highlighting a region of the visible area of the website corresponding to the text that is being localized.

15. A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:

generating a localization descriptor for a localization element on a website;

encoding the localization descriptor into unparsed syntax in code for the website;

adding pseudo tag notations to the localization descriptor encoded in the unparsed syntax;

extracting text that is being localized from the localization descriptor by identifying the pseudo tag notations;

creating a visual indicator for display as an overlay outside of a visible area of the website to indicate a change in appearance of the website after localization, wherein a size of the visual indicator is scaled to match a size of the text as displayed in the visible area of the website when the code is rendered, and wherein the visual indicator indicates a visual comparison of a change in size of the text that is being localized;

adding a user interface to the visual indicator, also displayed outside of the visible area of the website, for user input of localized text responsive to a user interaction with the visual indicator on the website, a size of the localized text being scaled to match the size of the text as displayed in the visible area of the website; and

adding an identifier to the visual indicator, displayed in conjunction with the localized text responsive to a user interaction with the visual indicator on the website, wherein the localized text is editable through a lookup of the identifier.

16. The non-transitory computer-readable device of claim 15 , wherein the localization descriptor comprises a key and value pair corresponding to the localization element and bundle information indicating a location of the key and value pair.

17. The non-transitory computer-readable device of claim 15 , wherein the unparsed syntax comprises a Hypertext Markup Language (HTML) comment and the code for the website comprises HTML code.

18. The non-transitory computer-readable device of claim 15 , wherein the pseudo tag notations comprise an opening pseudo tag notation and a closing pseudo tag notation.

19. The non-transitory computer-readable device of claim 18 , wherein the opening and the closing pseudo tag notations indicate a starting point and an ending point, respectively, for text that is being localized in the localization element.

20. The non-transitory computer-readable device of claim 17 , the operations further comprising:

identifying the size of the text that is being localized from the localization descriptor, wherein the size of the text that is being localized corresponds to dimensions of a region of the website displayed when the HTML code is rendered.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 13, 2025
From: LENZNER, MARCUS
To: SALESFORCE.COM, INC.
Reel/Frame 072004/0656 →
CHANGE OF NAME Recorded Nov 20, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069406/0699 →
Continuity (1)
Related Publication 20230297764A1 · Sep 21, 2023
References Cited (34)
US 6964014B1 · Parish · 2005 [cited by applicant]
US 8756050B1 · Harkness · 2014 [cited by examiner]
US 20060217954A1 · Koyama · 2006 [cited by examiner]
US 20070033520A1 · Kimzey · 2007 [cited by examiner]
US 20070204232A1 · Ray · 2007 [cited by examiner]
US 20070233456A1 · Kim · 2007 [cited by examiner]
US 20080281578A1 · Kumaran · 2008 [cited by examiner]
US 20090157381A1 · Furuuchi · 2009 [cited by examiner]
US 20090158137A1 · Ittycheriah · 2009 [cited by examiner]
US 20100305940A1 · Dendi · 2010 [cited by examiner]
US 20100324887A1 · Dong · 2010 [cited by examiner]
US 20120017146A1 · Travieso · 2012 [cited by examiner]
US 20120159430A1 · Waldbaum · 2012 [cited by examiner]
US 20130006603A1 · Zavatone · 2013 [cited by examiner]
US 20130185657A1 · Gunawardena · 2013 [cited by examiner]
US 20140172408A1 · Vukosavljevic · 2014 [cited by examiner]
US 20150067605A1 · Zambetti · 2015 [cited by examiner]
US 20150324336A1 · Glezos et al. · 2015 [cited by applicant]
US 20180165987A1 · Montiel · 2018 [cited by examiner]
US 20180300218A1 · Lipka et al. · 2018 [cited by applicant]
US 20180329801A1 · McKee et al. · 2018 [cited by applicant]
US 20180330732A1 · Dasgupta · 2018 [cited by examiner]
US 20190228058A1 · Shang et al. · 2019 [cited by applicant]
US 20200019583A1 · Halfond et al. · 2020 [cited by applicant]
US 20200250208A1 · Lipka et al. · 2020 [cited by applicant]
US 20210004527A1 · Chowaniec · 2021 [cited by examiner]
US 20210042475A1 · Zhang · 2021 [cited by examiner]
US 20210073340A1 · Agarwal · 2021 [cited by examiner]
US 20210279399A1 · Bikumala · 2021 [cited by examiner]
US 20210312141A1 · Shi · 2021 [cited by examiner]
US 20220327279A1 · Long et al. · 2022 [cited by applicant]
US 20230297638A1 · Lenzner · 2023 [cited by applicant]
WO WO2013075332A1 · 2013 [cited by applicant]
Alameer et al., Detecting and localizing internationalization presentation failures in web applications, 2016 IEEE International Conference on Software Testing, Verification and Validation (ICST), IEEE (2016). [cited by applicant]