MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetCurrentLanguageIsoCode

Function GetCurrentLanguageIsoCode

src/strings.cpp:2297–2300  ·  view source on GitHub ↗

* Get the ISO language code of the currently loaded language. * @return the ISO code. */

Source from the content-addressed store, hash-verified

2295 * @return the ISO code.
2296 */
2297std::string_view GetCurrentLanguageIsoCode()
2298{
2299 return _langpack.langpack->isocode;
2300}
2301
2302/**
2303 * Check whether there are glyphs missing in the current language.

Callers 3

GetTextfileFunction · 0.85
DrawWidgetMethod · 0.85
OnResizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected