Android platform based language switching method and system

A technology for switching systems and languages, which is applied in the field of language switching methods and systems based on the Android platform, can solve problems such as slow switching speed, cumbersome language switching process, and low switching efficiency, so as to improve switching efficiency, improve language switching speed, and simplify language switching. The effect of the switching process

Active Publication Date: 2015-09-30
TCL CORPORATION
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a language switching method and system based on the

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
  • Android platform based language switching method and system
  • Android platform based language switching method and system
  • Android platform based language switching method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0042] The present invention provides a language switching method and system based on the Android platform. In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the present invention will be described in further detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0043] See figure 1 , figure 1 It is a flowchart of a preferred embodiment of a language switching method based on the Android platform of the present invention. As shown in the figure, it includes the steps:

[0044] S101. When receiving the language switching instruction, obtain the index value of each currently visible display panel, and determine the priority of each currently visible display panel;

[0045] S102. Perform language switching for each currently visible display panel according to a preset priority sorting rule. The process of lan...

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 Android platform based language switching method and system. The method includes the steps: A, when receiving a language switching command, acquiring an index value of each current visible display module, and determining priority of each current visible display module; B, performing language switching on each current visible display module according to preset priority ordering rules, wherein the language switching process includes acquiring character string information of each control on the current display module and determining coding formats of the target language type according to preset multilanguage resource files so as to form and display target language type character strings. The display modules are subjected to language switching according to the preset priority ordering rules, and accordingly languages can be switched automatically without restarting the entire UI (user interface); besides only the multilanguage resource files have to be read during switching so as to start a corresponding database without starting the UI, further the switching process is simplified, and switching efficiency is increased.

Description

technical field [0001] The invention relates to the field of Android platform interface, in particular to a language switching method and system based on the Android platform. Background technique [0002] In the Android 3D UI development process, we need to change different texts to display on the UI interface according to the languages ​​of different countries. The traditional approach is to put all the internationalized resources in the So dynamic library according to the skin-changing principle. One language corresponds to one dynamic library. When the program is running, it loads different So dynamic libraries to realize the switching of multi-language functions. The disadvantage of this is: you can’t switch languages ​​dynamically, and you have to restart the UI if you change the language; in addition, if you use the dynamic library method, if the program needs to modify resources, you need to update all the dynamic libraries, which is a cumbersome and easy-to-miss job...

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
IPC IPC(8): G06F9/48G06F9/50
Inventor 赵智宝卢伟超
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products