Hey there! Thanks a lot for the amazing work on Tauri.
In desktop applications, it is common to let users choose the application locale regardless of their OS settings. I like my OS to be set to en-US, but when working with applications for data entry (read: dates, monetary values, etc), I prefer to set en-NL if possible.
In webview, navigator.language is responsible for the behavior of some of Intl object methods as well as how <input type="date"/> is rendered.
I would like to know if it's possible to overwrite the navigator.language during application startup.
Hey there! Thanks a lot for the amazing work on Tauri.
In desktop applications, it is common to let users choose the application locale regardless of their OS settings. I like my OS to be set to en-US, but when working with applications for data entry (read: dates, monetary values, etc), I prefer to set en-NL if possible.
In webview,
navigator.language
is responsible for the behavior of some ofIntl
object methods as well as how<input type="date"/>
is rendered.I would like to know if it's possible to overwrite the
navigator.language
during application startup.Thanks a lot!