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

feat: support i18n #461

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

feat: support i18n #461

wants to merge 5 commits into from

Conversation

axetroy
Copy link

@axetroy axetroy commented Apr 8, 2024

closed #445, #460

  1. Add support i18n, defaults to your browser languge. and fallback to English.

  2. Specify the locale from hash params

    eg.

    http://localhost:8080/website/index.html#model=assets/models/MultipleMeshes.bim$locale=zh-CN
    http://localhost:8080/website/index.html#model=assets/models/MultipleMeshes.bim$locale=en-US
    
截屏2024-04-08 22 52 41 截屏2024-04-08 22 33 13

source/website/i18next.js Outdated Show resolved Hide resolved
source/website/i18next.js Outdated Show resolved Hide resolved
@axetroy
Copy link
Author

axetroy commented Apr 8, 2024

/cc @kovacsv Ready for review now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Localization support
1 participant