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
Translations work as intended, even the Locale is shared. However I get strings from renderer.js detected and written in sk.js (enviroment variable) instead of en.js. Is it intended?
Thanks.
The text was updated successfully, but these errors were encountered:
I'm not sure how i18n would be the cause of the locale change. Can you check what environment variables you have in main/renderer ? Maybe that comes from here.
You can also enforce language from renderer based on the language in main (something like i18n.setLocale(remote.getGlobale('locale')) (Maybe that would work).
If nothing of this helps you, can you make an example repository that I can clone ?
Hello, I am struggling with the way how to properly call i18n accross whole my electron app.
Now I have this setup
main.js
renderer.js
Translations work as intended, even the Locale is shared. However I get strings from renderer.js detected and written in sk.js (enviroment variable) instead of en.js. Is it intended?
Thanks.
The text was updated successfully, but these errors were encountered: