Unlock instant, AI-driven research and patent intelligence for your innovation.

Annotation internationalization method and device, terminal and storage medium

An annotation and caching technology, which is applied in the field of terminals, storage media, devices, and annotation internationalization methods, can solve the problems of low efficiency of internationalization configuration, and achieve the effect of improving efficiency and replacing efficiency

Pending Publication Date: 2022-04-12
特赞(上海)信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of this application is to provide an annotation internationalization method, device, terminal and storage medium to solve the problem of low efficiency in the internationalization configuration of different content in related technologies

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
  • Annotation internationalization method and device, terminal and storage medium
  • Annotation internationalization method and device, terminal and storage medium
  • Annotation internationalization method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. 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.

[0038] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances ...

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

The invention discloses an annotation internationalization method and device, a terminal and a storage medium. The method comprises the following steps: receiving a cartoon file in a PSD format; receiving initial data of the tenant interface; determining a primary key value from the initial data by using a reflection mechanism of Java and a first attribute contained in a preset internationalization annotation; determining a target resource file, a target attribute and a path of the target attribute corresponding to the primary key value based on a second attribute, the primary key value and an internationalization configuration table contained in the preset internationalization annotation; and determining target data based on a Java reflection mechanism, the target resource file, the target attribute and the path of the target attribute, and returning the target data to the tenant interface. The internationalization of different data tables and internationalization replacement of multiple columns in the data tables are supported, even internationalization replacement of result fields after multi-table aggregation query is supported, the replacement efficiency is high, and then the internationalization configuration efficiency of different contents of multiple tenants is improved.

Description

technical field [0001] The present application relates to the technical field of software development, in particular, to an annotation internationalization method, device, terminal and storage medium. Background technique [0002] With the increasing number of tenants in Saas enterprises, the field dictionaries between tenants vary greatly, and even the same Chinese field may have different translation results at different tenants. Therefore, how to realize the international configuration of different content in the multi-tenant system has become an urgent problem to be solved. [0003] At present, to realize the internationalization configuration of different content in the multi-tenant system, it is mainly necessary to internationalize Java annotations, that is, to realize the internationalization configuration of different content by moving the logic related to internationalization from annotations to ordinary Java code . [0004] However, there is a problem of low effi...

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 Applications(China)
IPC IPC(8): G06F8/73G06F40/58
Inventor 范凌王喆
Owner 特赞(上海)信息科技有限公司