Choose 1st time language

How to make a app multiple language choose option on first screen.

It is working when i open app for first time.

Suppose i selected button1 (English) then, this language dialog will disappear and vertical scroll arrangement1 will appear, data stored with tinyDB.

If English is clicked then store English as the language and use another tag to store ‘true’ so the app knows that this option has been selected already and not to show it again.

1 Like

Use Another Tag in TinyDB to Store the Preferred Language.
Suppose it is - PL

When Your App Initialize - Check if the TinyDB has PL Tag.

if it is Present then Don’t show your Language Selection Page,
And get Value of PL Tag to Know what Language to Use for the App.

if it is Not Present then show your Language Selection Page,
And when the User Clicks on Any Language Button, Store that Preferred Language under PL Tag in TinyDB.

2 Likes

blocks send me blocks

Why won’t you try it yourself ? The anwser was given above by @ADDYLIN , all you have to do is put it in blocks.

2 Likes

Don’t create duplicate topic

3 Likes

User suspended for double posting.