Skip to content

[i18n][AnalyticalTable]: Indonesian translation broken #11233

@ej612

Description

@ej612

Describe the bug

Hi there!

We're having a problem with our AnalyticalTable, the Indonesian translation of which doesn't work and instead falls back to English:

Image

This problem is most likely due to the fact that for Indonesian, there are two codes: 'id' (since 1989) & 'in' (before then). We're setting 'id', which is the suffix on our messagebundle.

We've had issues around that before, I'm leaving this here for context.

We're observing multiple things:

  • In the attached sandbox, the Indonesian translation isn't working. If you change the code to 'in' (which is the code you seem to be using in your storybook docs), it does work.
  • In your repo, I can see a messagebundle_in.properties as well as a messagebundle_id.properties. The 'in' one is only half as long as the other one, perhaps your organization switched to updating the 'id' one at some point and you never deleted the 'in' one.
  • Both these messagebundles contain translations for the sorting popup in the AnalyticalTable, which means the reason it's broken seems to be somewhere else.

Reproduction steps

  1. https://stackblitz.com/edit/github-9ssrdb-uvpfk6t8?file=src%2FApp.tsx
  2. Click on column header
    -> Observe English fallback instead of Indonesian

UI5 Web Components for React Version

2.8.1

UI5 Web Components Version

2.8.0

Browser

Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    • Status

      New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions