memostark / Speakable

Use text to speech anywhere in your Android phone
5 stars 0 forks source link

Allow to change the language in the Visualizer #235

Closed memostark closed 2 months ago

memostark commented 3 months ago

The BookFile table has a column for language, however, there is no way for the user to set this value.

Add a way for the user to change this value using the settings popup window which currently displays the app's default language from, instead replace this with the book's language. When opening a book for the first time, no language is set but once the user changes it then this new value should be stored in the database, when translating if no language is set then use auto detect.

Also, change the table schema for BookFile. For the language column to represent the case when no language is set, the "und" value is used, it would be more intuitive to use null to represent this case. Allow the column to be nullable and null as the default value.