I managed to rewrite system plugin "Language Manager", so now it saves texts for different languages to Database (DB).
Now I do not know how to rewrite JText (that is present across all the application code) so it takes text for each languages directly from the DB and not from the local files. The same thing I need to do for "Language Manager" to take data from DB only.
I would appreciate your help! Thank you