I am making an app with translation function provided. The way the translation function is a bit different to others because I didn't use the translator, but I set up all the translation in each screen by myself ( Showcase below ). The problem now is I don't know how to set up my blocks to let TinyDB save the language that's being selected in the setting screen, and to retrieve in every other screen. Can someone help?
Hi, thanks for the reply. Ye, I know i can use TinyDB to store thing, but all my screen now have different text, I've set up all the translation for each text by typing in the translation myself, and not by translator which you can see in the picture(Those procedures block), so is there a way to change every screen language into the language that the user picked from the language listpicker?
I've thought of way to set all the three languages i am providing into 3 numbers, 1, 2 and 3 (Ex: 1=English, 2=Chinese, 3=Malay). And make them as a selection to store in TinyDB, and so in the rest of the screen i can call TinyDB to retrieve the number that the user chosen, and to display all the text in the number that I will be valuing them to. Could this be a possible way to do so?
Yo guys, after a few days of work, i've completed my app and I really want to thanks to yall, i really do appreciate all of the reply. The pictures below I will show how I've solved the problem I am facing in this topic, I figured out by using the tutorial provided by ChatGPT just in the day after i created this topic since my project is going to due the next day. But still i really thanks to yall for helping.
The way i set up these block helps to change all the languages which i've set up by myself (without translator) as you can see in the picture, into the specific language that my user picked from the listpicker in Setting Page.