I want to build a multilanguage app but i am facing issues

i want an option of "change language" in my app but it only changes the language of that screen and not the other screens also after changing the language if i change it again it is not changing

use your logic in all screens, you might want to use TInyDB to store the language you selected

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

can you please explain a little briefly that how to use TinyDB to store the language as i am making an app for the very first time

also i want to have a feature of "read" in my app
but once it starts speaking the content , it stops only when it has read the whole content
even after closing the app it continues to speak and also when we change the screen
i want to build a button to stop it and also that it stops on changing the screen and closing the app but i am not able to

i am sharing these pics of my code
please help me to correct it

There is no block to stop the text to speech, but you can workaround this by using another texttospeech call with nothing in it. In the example below I put the word STOP:


work this into your code at the points where you want to stop texttospeech.


thank you very much
i will make the changes!

it would be really great if you could solve my other issue as well
regarding the language


Should give ideas

actually what i want in my app is that
i have created a screen "settings" and i want that when a user wants to change the language of the app they can chose the language from the spinner in the screen and it should translate the whole app at once
but the issue i am facing is that it changes the language of that screen only
i want that after changing the language in the settings the app should be in that language until it is changed again
i hope you are able to understand my issue and would help me to resolve it

i want to change the language of all screens just by selecting from one screen

Then do as Taifun suggested....

actually i am not clear with what Taifun said
it would be great if you could brief more about how to store language in TinyDB

Okay then look at this simple AIA I quickly made. Do make sure the namespace on the tinyDB is the same on both screens.

Translator.aia (3.9 KB)

1 Like

And here is a version that uses lists and the tinydb, so you have to do all the translations before hand, but then they are contained in the app, no need to call Yandex. I have done it in "longhand" so you can see what is going on, but this could be improved.

TranslateAcrossScreens.aia (6.9 KB)


@Xtendera & @TIMAI2
thank you !!

can anybody suggest me some ideas for my buttons
they look just like a picture :confused: :confused:
not giving a look of button
your ideas are most welcome :blush: :upside_down_face: