-
Notifications
You must be signed in to change notification settings - Fork 0
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
英語版は翻訳版ページで別途対応ではなく,JavaScriptで翻訳箇所を切り替えたらどうか #8
Comments
提案パラメータを取得し,その値ごとに言語切り替えもできるようにしたらどうか.
const queryString = window.location.search;
const params = new URLSearchParams(queryString);
const lang = params.get('lang'); //'en' https://developer.mozilla.org/ja/docs/Web/API/Location/search
|
matchaism
added a commit
that referenced
this issue
Dec 10, 2024
matchaism
added a commit
that referenced
this issue
Dec 10, 2024
#8 (comment) の「表示の速さ」を解決するには,サーバサイドでレンダリングする必要がある.そうなると,いよいよ#7 を通じて,事前にbuildされたサイトを構築する必要があるかも. |
#7 (comment) を期に対応する. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jp class
とen class
を作成jp class
en tag
を付けて,どこかに配置en tag
のコンテンツに切り替えThe text was updated successfully, but these errors were encountered: