Check patentability & draft patents in minutes with Patsnap Eureka AI!

A web page text adjustment method and device thereof

A text and webpage technology, applied in the field of webpage text adjustment method and its equipment, can solve problems such as incomplete display, lower text content display format accuracy, display misalignment, etc., achieve rich adjustment methods, accurate and complete display, and improve accuracy sexual effect

Active Publication Date: 2018-12-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when the same text content is displayed in different languages, the text content may be displayed from a shorter first language to a longer second language after language switching because the text lengths of different languages ​​are not uniform. , it will lead to problems such as display misalignment or incomplete display, thus reducing the accuracy of the display format of text content in different languages

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A web page text adjustment method and device thereof
  • A web page text adjustment method and device thereof
  • A web page text adjustment method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The webpage text adjustment method provided by the embodiment of the present invention can be applied to the scene of language switching of a website with multilingual layout. After obtaining the language switching instruction for the first text content in the target webpage, analyze the target language carried in the language switching instruction, and According to the language switching instruction, the language type of the first text content is switch...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention disclose a webpage text adjustment method and device. The method comprises the following steps of obtaining a language switching instruction for first text contents in a target webpage, wherein the language switching instruction carries a target language; switching a language type of the first text contents to the target language from a source language according to the language switching instruction, thereby generating second text contents; and when a character number of the second text contents is greater than a preset character number threshold, adjusting a display format of the second text contents by adopting a preset text adjustment rule. By adopting the method and the device, the webpage text format adjustment mode can be enriched and the accuracy of display formats of text contents with different language types is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a web page text adjustment method and equipment thereof. Background technique [0002] The content of the website must be displayed in the form of a webpage before it can be seen by users, and the content of the website is displayed for different users. Usually, the users who use the website can be people from any country, which requires the text content of the webpage to be able to Realize multilingual display, for example, the text content in the webpage displayed in Chinese, when the user needs to display in English, can realize the display of the text content in the webpage in English as the display language. [0003] In the prior art, when the same text content is displayed in different languages, the text content may be displayed from a shorter first language to a longer second language after language switching because the text lengths of different languages ​​are not ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30G06F17/28
CPCG06F16/9577G06F40/58
Inventor 梁宇轩
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More