Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization problems #104

Open
FabrizioRicciarelli opened this issue Sep 9, 2024 · 0 comments
Open

Localization problems #104

FabrizioRicciarelli opened this issue Sep 9, 2024 · 0 comments

Comments

@FabrizioRicciarelli
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant