Responsive language change and porting inquiry #17747
Unanswered
JOSTInternational
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Configuration:
Steps to reproduce the problem:
What is the expected behavior?
Expect to be able to add some code to force the locale change to non-en locale (specifically, es-mx and fr-ca) for mobile. If I tested this using a device in a different locale, the Google Translation API may be invoked, but I am not certain. Desktop functionality works well with Google Translation API. I expect a translation prompt to occur for mobile that translates html content and invokes a different locale for the pdf.js viewer.
What went wrong? (add screenshot)
I do not know how to invoke the language / locale update for this version of pdf.js, or if this is even possible. I am not certain how to port my code over to the latest distribution of pdf.js either. I started with a .zip download of the v4.0.189 dist.
Please advise. I understand this is not an issue with pdf.js, but rather a community issue. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions