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

o3dv.website.min.js #440

Closed
tril-alex opened this issue Jan 15, 2024 · 3 comments
Closed

o3dv.website.min.js #440

tril-alex opened this issue Jan 15, 2024 · 3 comments

Comments

@tril-alex
Copy link

Hello everyone. Could you tell me if there is a possibility to translate hints and buttons in this file o3dv.website.min.js to another language? How can I do it?

@rafael-vm
Copy link

rafael-vm commented Jan 23, 2024

Dear @tril-alex I did this to use the online 3d viewer in portuguese. I created a new js file in the source/website with a function which change the viewer names and denominations in dependence of the browser language. You can see the result in htt. If your browser language is pt-br it shows the viewer in Brazilian Portuguese, otherwise it shows in english.
I did create a fork/pull request to add this feature to the online3dviewer, but went dead without acceptance.
If you like it we can exchange info about how to do it.
Best,

@tril-alex
Copy link
Author

Thanks for the help!!!

@kovacsv
Copy link
Owner

kovacsv commented Jan 27, 2024

Currently there is no easy way, I've added this ticket for supporting localization: #445.

@kovacsv kovacsv closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants