No pdf loaded when using locale file
See original GitHub issueConfiguration:
- Web browser and it`s version:
- Operating system and it`s version:
- vue-pdf-app version: 2.0.0
Steps to reproduce the problem:
- Include link to locale file (different than English) in head
- Create two buttons that loads different pdf files in the same vue using a data variable to store the pdf path
- Initially the first PDF loads correctly but when we press the second button to load the second PDF, it no longer loads.
What is the expected behavior?
The vue-pdf-app should loads the pdf file always
What went wrong?
if we include the locale file, the viewer doesn’t load the pdf’s after the first load.
Attachments (screenshots, links, etc)
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Troubleshoot viewing PDF files on the web - Adobe Support
Follow these steps to solve the common issues around viewing PDF files from a website.
Read more >Not allowed to load local resource, embedded pdf in object
So I checked if the files I download are somehow restricted, but they arent and even if I rightclick on the link in...
Read more >5 Approaches Setting up Content in RadPdfViewer ASP.NET ...
A common scenario is when the PDF file that is about to be loaded it in the PDF viewer is not yet an...
Read more >Localize your app - Android Developers
Whenever the app runs in a locale for which you have not provided locale-specific text, Android loads the default strings from ...
Read more >742099 - Localize pdf.js strings and replace with the final ...
PDF Viewer is currently localized for a few locales by unofficial localizers (add-on developers ... There no issues with placing all localized files...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I found the problem, when I pre-fetch the PDF and pass it in as an arrayBuffer the locale don’t work (the second time) but if I pass the file path it works as expected. Maybe this can be of help to someone else.
I have the same problem using ArrayBuffer, and if I pass the pdf path or not using locale resource, everything works fine