0 votes

I have a CSV translation, the game works on Windows and Android. But I want to have 1 HTML5 page for each different language. Is it with the lang attribute on the html tag of the super-page that contains the iframe of the game. Is it with the lang attribute on the iframe tag? How can I do/make internationalization on HTML5?

Godot version 3.4
in Engine by (64 points)

1 Answer

0 votes

Use JSP and Spring's Message tag lib (or any other templating language that supports i18n) For each locale you would copy all the HTML pages in a locale directory and then dispatch to the directory based on the locale.
https://books.google.nl/books?id=fIsUPh3oevEC&pg=PA54&lpg=PA54&dq=How+can+I+do/make+internationalization+on+HTML5?&source=bl&ots=5zv1ihUAEe&sig=ACfU3U3VGMARkjlAg83Qen1Wy46gwNt9FQ&hl=en&sa=X&ved=2ahUKEwiV1_mxuKH1AhURKuwKHdxzCEcQ6AF6BAgIEAM#v=onepage&q=How%20can%20I%20do%2Fmake%20internationalization%20on%20HTML5%3F&f=false

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.