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

Fix switching language should not make the lang attribute empty #8831

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

Leilei332
Copy link
Contributor

Make the lang attribute of html element be set correctly when switching languages.

Copy link

Confirmed: Leilei332 has already signed the Contributor License Agreement (see contributing.md)

Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit 31b5943
🔍 Latest deploy log https://app.netlify.com/sites/tiddlywiki-previews/deploys/6765513afc62ea00087db41b
😎 Deploy Preview https://deploy-preview-8831--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Jermolene
Copy link
Member

Thanks @Leilei332

@Jermolene Jermolene merged commit 49a33ae into TiddlyWiki:master Dec 20, 2024
7 checks passed
@Jermolene
Copy link
Member

Hi @Leilei332 I notice that the lang attribute of the <html> element is not updated when switching language to en-GB; presumably we need a special case for it.

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.

2 participants