You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to give users to option to use system locale or force a specific supported one in the app, and I'm using code adapted from the Localizer example, setting the language override before the first manual poll() works as expected, but when i do it afterwards in gui code, the language preference/order doesn't change (ie it's either still the system language or the language override i set at the start of the app). I'm using the fl! and println! macros to check the values.
Which platform are you on by the way? The https://github.com/rust-locale/locale_config/ library used appears to be mostly abandoned and has existing issues, I haven't yet found a suitable replacement.
I want to give users to option to use system locale or force a specific supported one in the app, and I'm using code adapted from the Localizer example, setting the language override before the first manual
poll()
works as expected, but when i do it afterwards in gui code, the language preference/order doesn't change (ie it's either still the system language or the language override i set at the start of the app). I'm using thefl!
andprintln!
macros to check the values.https://github.com/m00nwtchr/cofd-pc-rs/blob/02aa5027ba2938f46699952871adb191205fb7d6/cofd/app/src/i18n.rs
https://github.com/m00nwtchr/cofd-pc-rs/blob/02aa5027ba2938f46699952871adb191205fb7d6/cofd/app/src/main.rs#L219-L229
The text was updated successfully, but these errors were encountered: