4.17 (maybe 4.16) adds BP support for managing the language and locale of your game, so take a look at UKismetInternationalizationLibraryif you want an example of how your 4.15 version could work.
I’m trying to get the language used by the Operating System (e.g what language Windows is in) for my game, so it can detect it and automatically change to the appropriate language