I put all the POC code in the previous article on github
Offline Internationalization App Poc
The vast majority of internationalized apps are implemented by returning different languages through api requests. The so-called "content" does not refer to the UI interface of the APP, but the content information carried by the APP.
I have provided a different idea here. The core idea is to embed the part of the cloud API multilingual query that was originally in the cloud into the App by using Sqlite. There are three reasons:
-
First, for specific content and data with information boundaries, embedding the data from the cloud to the local will get a faster response speed.
-
Second, the users of the multilingual APP are people from various countries and regions. The network situation is complicated. The data can be embedded from the cloud to the local without being affected by the network and can be used offline.
-
Third, I donβt have a cloud server
π β¦
I took advantage of this technical feature to develop an app that specifically consulted the Chinese "Compendium of Materia Medica"'s vegetable and fruit boil health regimen. At present, I have translated the English version using Google translation.
https://www.shuge.org/ebook/ben-cao-gang-mu/
96 kinds of Chinese medicine fruits and vegetables are carefully selected for users. For each kind of fruits and vegetables' characteristics, effects, and purchase guidelines
The analysis of nutritional components, examples of dietary therapy, and health-preserving prescriptions of traditional Chinese medicine have made a comprehensive analysis, telling people that fruits and vegetables are the most natural, economical, and convenient way to cure diseases.
There are also special introductions and exquisite pictures of each kind of fruits and vegetables in the APP, with a quick search function, so that users can quickly find the information they need. At the same time, it also supports light and dark theme styles, and users can freely set according to their own habits.
The Vegetable and Fruit Therapy APP can not only tell users exactly what to eat and how to eat, but it can also help people establish the concept of vegetable and fruit health, which is worthy of repeated reading and permanent collection.
Top comments (0)