As minor as it might sound, if 199/200 countries work in your system, capitalism dictates that below a certain business size, the logical thing is often to just ignore the one country and move on.
These things have odd cascading effects.
You can try that now - my browser highlights Türkiye when I search for Turkiye.
It's a problem with well-known solutions. That's not the same as a solved problem.
It will be a solved problem when processing a log file in /var/log with Python (or any other tool of choice), it works automatically.
So this is not a keyboard (hardware) problem, just a keyboard layout (software) problem.
Standard US English keyboards don't have AltGr. But you may mean ctrl+alt on windows or the 'option' button on macs.
Which the parent was pointing out is nonstandard. There is no alt-gr key on a standard US keyboard. You can certainly remap alt-right to alt-gr but that is nonstandard and doing so does not mean that the key exists on the physical keyboard.
For example my caps lock key is mapped to ctrl-left. That is nonstandard.
* Pick any European keymap under Ubuntu, Windows, or Mac with your US keyboard * Hold right-alt and press a key
You'll get something like ń or ą.
Bonus: Under Ubuntu, you might also have other keys remapped to let you type things like x²≠¼.
Bonus hack: Add a Greek keymap, and you can even get to things like Δx = π·y with an alt-space in between.
Which might not actually be that long.