Skip to content

Localization problems #104

@FabrizioRicciarelli

Description

@FabrizioRicciarelli

Hallo, we've purchased the enterprise version.

Following the example you provided (https://github.com/react-pdf-viewer/examples/blob/main/localization/LocalizationExample.tsx) and trying to apply a different locale than the default one, we're experiencing some problems:

  1. when I try to use the locale it_IT (we are frome Rome, Italy), most of the menu items/tooltips are correct but some menu items, especially those of the "More Actions" menu are completely missing (blank); the missing items are "Page scrolling", "Single page", "Dual page", "Dual page with cover" (and probably some others: not yet checke all the component's items)

  2. when I try the same, but with the locale en_US, the problem remains (same place "More Actions": missing items)

  3. when I try to alter the localization file (any of the node_modules/@react-pdf-viewer/locales/lib/xy_XY.json files) and I recompile my app, the new contents are not applied, nor if I clear the browser's cache or I change the browser, say Firefox instead of Chrome) the contents remain exactly the same as if I left the locale files untouched.

Waiting for a kind answer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions