As you see I get a different translation (namaskaar instead of hello), but the writing is correct. So something has broken your Devanagri text rendering.
I am using Firefox for this (another partner on your side you forgot to mention).
And no, I did not add the Hindi language because that has no use for this. This is about rendering these Devanagri characters (send to you in UTF-8) correct and has nothing to do with the language they may or may not try to express.
While I have no direct solution, this may help in cornering the origin of your problem.
If that’s the package you mean then, it’s only relevant for the system’s administrators – not the users …
If, you have Hindi users on the system then, you’ll need the Hindi spelling packages:
Please note that, as far as installed applications are concerned, provided the associated “-lang” packages are installed then, the systems users should be able to select Hindi as their Desktop language which, should also appear as the interface language for their applications.
Please note that, some applications such as those from Mozilla (Firefox & Co.) will often need extra user intervention to properly handle the user’s preferred application interface language.
Again, IMO, this has nothing to do with locales. A program wants to show certain Unicode characters. This is only possible if there is at least one font installed that has the glyphs for these characters.
I do not have any extra locales. I only installed long ago the package indic-fonts to provide the glyphs (and the rules on how to add the matras). Maybe you have a different font with errors in it?
I have no knowledge of any Firefox setting that would brake this. Why should something like that exist?
Firefox here is 102.11.0esr .
Trying to underline the fact that this about fonts (and not about locale), I once had “replacements characters” for the Khmer script. I only installed khmeros-fonts and FF showed them.
boven:/home/henk/test/unicode # ls
alles goed? hello öäüßÖÄÜ Œé⁶ Χαίρετε Здравствуйте Лшадсщ أهلا नमस्ते
shows that even names can be in Unicode and no, I do not have all those different locales active at the same moment.
This folder is only mentioned if you invoke “fc-cache” – AFAICS, there’s no other documentation –
> fc-cache --really-force --verbose
/usr/share/fonts: caching, new cache contents: 0 fonts, 12 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/Type1: caching, new cache contents: 29 fonts, 0 dirs
/usr/share/fonts/baekmuk: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/ghostscript: caching, new cache contents: 52 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 168 fonts, 0 dirs
/usr/share/fonts/texlive-lm: caching, new cache contents: 164 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 519 fonts, 0 dirs
/usr/share/fonts/uni: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/xscreensaver: caching, new cache contents: 5 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/???/.cache/fontconfig: cleaning cache directory
/home/???/.fontconfig: cleaning cache directory
Please note the following when you execute “fc-cache” –
Only the user “root” or, an administrator with suitable privileges, can clean up system-wide cache directories such as ‘/var/cache/fontconfig’ …
“fc-cache” will sometimes warn about “looped directory detected” – don’t worry, be happy – this is a compatibility issue between the tool and the system – maybe, sometime, somone will address this issue …
Yes, that’s only appearing on Firefox. But copying those texts to anywhere else looks good…
And the Firefox version is 113.02.
From this I remembered that, is it possible to remove the package cache which might be remaining back despite that package has been removed by me ? Also, if we will update our system frequently, then also the cache of previous updates are stored, so can they be removed ?