Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

axI18n uses incorrect locale name when widget config has no default #481

@jpommerening

Description

@jpommerening

I found a small, fixable bug in i18n:

...forLocale( defaultLocale, 'i18n' )

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?

cc @x1B

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions