If the widget has no configuration and no default for the … uhm … default locale, we're calling ...forLocale( 'en', 'i18n' ). I assume this is wrong, ...forLocale( 'default', 'i18n' ) seems closer to the solution, but then when do we use the fallbackLocale and defaultLocale?
I found a small, fixable bug in
i18n
:https://github.com/LaxarJS/laxar/blob/d7acdaa83a420b4592b8dcb16f05faba354aa714/lib/runtime/widget_services_i18n.js#L89
If the widget has no configuration and no default for the … uhm … default locale, we're calling
...forLocale( 'en', 'i18n' )
. I assume this is wrong,...forLocale( 'default', 'i18n' )
seems closer to the solution, but then when do we use thefallbackLocale
anddefaultLocale
?cc @x1B