meetrevision / revision-tool

A tool to personalize ReviOS to your needs
GNU General Public License v3.0
298 stars 39 forks source link

Enable immediate language change without requiring restart #72

Closed Dusk-afk closed 9 months ago

Dusk-afk commented 9 months ago

Problem

When users change the language from the settings page, the change doesn't take effect immediately, requiring a restart to apply the new language. This limitation disrupts the user experience and makes language switching less seamless.

Solution

Implement a solution that enables immediate language changes in the UI without the need for a restart. Users should be able to switch languages from the settings page and see the changes reflected immediately in the application's interface.

Benefits

Implementation Details

We can make use of provider package for saving the current language selected in the app's state. Later from the settings page, this state can be altered, and full widget tree will be redrawn with the new language applied.