Skip to content

[MBWay component] Localization: Region unspecified languages have no translation #2423

@DBroli

Description

@DBroli

Description

The MBWay component has no translation when locale filters / resourceConfigurations have default language tags.
Example:
resourceConfigurations.addAll( [ "bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "lt", "lv", "nb", "no", "nl", "pl", "pt", "ro", "sk", "sl", "sv", "sv-rSE" ] )
This configuration results in lack of translations in MBWay component.
The component should have translations for languages without specified regions (ex. de-rDE)

Steps to Reproduce

  1. I am able to consistently reproduce this issue: Yes
  2. Steps to reproduce the issue:
    1. Specify resource configuration as demonstrated above
    2. Navigate to MBWay component with non-english language
    3. The component is in english

Integration Information

  1. Server-side integration: Advanced flow
  2. Client-side integration: Components
  3. SDK version: 5.15.0
  4. Android version(s) where issue occurs: any
  5. Device model(s) where issue occurs: any

Additional Context

Including all regional configurations in resource configuration is not a feasible solution, the library should be able to provide translations for languages without specified regions instead of defaulting to english.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIndicates a new feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions