I understand it might be too much work to implement British English separately, but can we at least have the option for a UK flag, rather than an american one?
For the amount of money I’ve spent on this service, I feel like that’s a minor and fair ask
Welcome. The flag? I’ve been here for just 1800+ days and have never worried about the flag. Clozemaster is American, it’s the best on the market (at least in my 'umble opinion) and it’s by far the best value for money. If an England flag was chosen there would be endless concerns about it not being British enough so I’m more than happy with my Italian flag and my sort of British flag;-)
Clozemaster is American, but English isn’t… It doesn’t matter to you, but it matters to me, a native english speaker, and british citizen… Not to mention, almost every other service takes it into consideration (You can be sure I notice :D)
Btw I’m as patriotic as the next, it’s just that getting my head around Italian grammar concerns me more than a flag. But at least we’ve shared opinions so that’s all good; -)
Using flags to represent languages is inherently flawed. India for example has 23 official languages, Switzerland has 4, which of them would the flags represent? As long as there isn’t something like a separate symbol/flag just to represent a single language or a related group, it’s not a good idea to represent languages with flags anyway, it’s not good UX. This is the main gripe. Apple for example stopped using flags, e.g. for national keyboard layouts. I think this is the right direction.
That being said, here’s a Tampermonkey script you can use to replace all US flags in the dropdowns with English ones. Or you could fiddle with it and put an Indian flag too, as English is official there
(Edit: I also published it to Greasy Fork so you can install from there. The script is more fun than I expected)
// ==UserScript==
// @name ClozeMaster Replace US Flag with England Flag Everywhere
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Replace all US flags with England (UK) flags on ClozeMaster
// @author Nobody
// @match https://www.clozemaster.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// URL to the 24px flag sprite containing England flag (from flarik/css-sprite-flags)
const flagSpriteUrl = 'https://raw.githubusercontent.com/flarik/css-sprite-flags/master/assets/24x24/sprite-flags-24x24.png';
// Function to replace US flag with England flag (5th flag in sprite, -96px horizontal offset)
function replaceFlag(element) {
element.style.backgroundImage = `url(${flagSpriteUrl})`;
element.style.backgroundPosition = '-96px 0'; // England flag position (5th column)
element.style.backgroundSize = 'auto';
}
// Replace all existing US flags
const usFlags = document.querySelectorAll('span.sprite.flag_24_US');
usFlags.forEach(replaceFlag);
// Watch for new US flags added dynamically (e.g., dropdowns)
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
mutation.addedNodes.forEach(node => {
if (node.nodeType === 1) { // Element node
const flags = node.querySelectorAll && node.querySelectorAll('span.sprite.flag_24_US');
if (flags) {
flags.forEach(replaceFlag);
}
}
});
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})();