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

[IDEA] Remove flags in language plugins #8837

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

Conversation

Leilei332
Copy link
Contributor

As is discussed in this comment

A related point is that my understanding is that it is not recommended to use flags to represent languages (see this article for an example of the arguments against the practice). I wonder if we should change to using the ISO language codes in the switch (eg "en-GB")

Copy link

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

Copy link

netlify bot commented Dec 21, 2024

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit 6a96a37
🔍 Latest deploy log https://app.netlify.com/sites/tiddlywiki-previews/deploys/6766b602071ce700084da895
😎 Deploy Preview https://deploy-preview-8837--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 this is definitely worth doing. I've been aware of the issues with using flags for a long time and it is about time we fixed it.

I pushed some updates to get things building and start to figure out the dependencies that need adjustment. I've also added a generic "language" icon for use in the page control button.

I think some more testing is needed but this feels quite close to being mergeable.

@Leilei332 Leilei332 marked this pull request as ready for review December 22, 2024 00:02
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