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 did use to have code generated that would accept the local string eg. en_US I did end up removing it however as having all the locales imported dramatically increases you're compile time and binary size; because the locale is found at runtime that means ALL locales will be compiled and included in your binary, even if you only use one.
however I have had a few people ask about it, so as long as the tradeoffs aren't a big deal I'll add it back next time I regenerate.
Is there a way to load locales based on a runtime variable?
I'd rather not import every package prior to knowing the locale. :)
The text was updated successfully, but these errors were encountered: