-
Notifications
You must be signed in to change notification settings - Fork 44
Feat: add i18n support and chinese translations #72
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
I see two differences in the |
Yes, some sentences have different word orders in Chinese and English. To preserve the the translations looks like:
Using |
Summary
This pull request integrates internationalization capabilities into the WLED web installer, making it accessible to a wider audience. It introduces a new JavaScript file to manage translations and updates the main HTML page to dynamically display content in different languages, starting with English and Simplified Chinese. The changes allow users to select their preferred language, which is then saved for future visits.
Related Issue
close #66
Review bot
kapibala/WLED-WebInstaller#3