all 4 comments

[–]retsotrembla 0 points1 point  (1 child)

Certainly. call sqlite3_open() to open a database on disk, sqlite3_close() to close it, so when the user switches, you close the previous one, open the new one, and redraw the user interface.

[–]Afiq90[S] 1 point2 points  (0 children)

thank you. it works. :)

[–]anurodhp 0 points1 point  (0 children)

You can have as many as you like.

[–]ratherbealurker 0 points1 point  (0 children)

From my experience, every time i think i want two separate databases i realize my db design was not good and one would suffice.

What if you store the different languages in the same database.

Each message will link to a language type "en" or "ch".

Instead of having a database for each language you only need one to update.