一种文本翻译方法、设备及计算机可读存储介质

By constructing a mapping relationship between associated identifiers and language font styles, the problem of poor display effect of translated text was solved, and the adapted display of translated text and target language was achieved, improving display effect and efficiency.

CN115409046BActive Publication Date: 2026-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-05-28
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, the display effect of translated text is poor, and only simple language translation is achieved without language-adaptive font style adjustment.

Method used

By pre-constructing a mapping relationship between association identifiers and language font styles, the target association identifier corresponding to the first font style in the initial language of the initial text is obtained, and the translated text is displayed using the second font style in the target language, ensuring that the translated text is adapted to the target language.

Benefits of technology

It improves the display effect of translated text, makes the translated text conform to the font specifications of the target language, simplifies the display processing flow of translated text, and improves display efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115409046B_ABST
    Figure CN115409046B_ABST
Patent Text Reader

Abstract

本申请提供了一种文本翻译方法、设备及计算机可读存储介质;方法包括:以第一字体样式显示初始文本,其中,初始文本对应的语言为初始语言;响应于针对初始文本的翻译操作,获取目标语言;基于关联标识与语言字体样式的映射关系、以及第一字体样式对应的目标关联标识,获取目标语言对应的第二字体样式,其中,在关联标识与语言字体样式的映射关系中,每种语言对应一组关联标识与字体样式的对应关系,关联标识与字体样式的对应关系描述了一种关联标识与一种字体样式之间的对应关系;以第二字体样式显示初始文本对应的翻译文本,其中,翻译文本对应的语言为目标语言。通过本申请,能够提升翻译文本的显示效果。
Need to check novelty before this filing date? Find Prior Art