pagoax
(Paul)
December 17, 2015, 1:51pm
1
Hi everyone !
I’m trying to use Hype 3. And I have a question, is it possible to use 2 different languages on the same scene, and change the language on the scene the url is like this : www.my-web-page.com/fr/ or like this : www.my-web-page.com/en/ ?
Sorry for my English
Thanks for your help !
Paul.
Photics
December 17, 2015, 10:53pm
2
By using JavaScript, you could detect the visitor's browser language. Then, the text inside an element can be changed.
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
MarkHunte
(Mark Hunte)
December 17, 2015, 11:19pm
3
Have a look at this thread.
Yep. But there are ways to handle that…
Also Just had a thought that you can use the anchor hash in a link for language selection.
First Example is a stripped version of the version above ( Buttons & storage stripped )
If you enter the normal url you will get the first scene as normal. But if you use:
…/langTest2.html#es
or
…/langTest2.html#en
You will get the language chosen. This still uses the global variables that represent the language text for each element.
We just get the window.…