Device language

It is possible to determinate device language via SDL2 api?

There was some discussion on this already a long time ago, but I don’t think it went anywhere.

I only have a link to the old forum:
https://forums.libsdl.org/viewtopic.php?p=44453&sid=7b858119ac71526994787db09229f91b

I kinda gave up on it and created a simple custom implementation for each platform I use.

1 Like

ollika, thank you for fast response! It’s what I need. I’ll investigate it and try to use in my environment…

Yet, that would be great to have a SDL_PreferredLocales() API