[SOLVED] How to find localization (like en_GB not just en)

Basic question but how do you guys find the localization?

I mean not the language but the localization like fr_FR or fr_CH or en_GB or en_US?

I know I could get the language like fr or en thru the navigator or ngx-transltate.getBrowserLang() but I’ve got a doubt about the localization right now

Thx in advance

Or I could add following to my question: does navigator.languages always return as first element of the array a localized value like fr_FR or could this first value also be like fr only?

Found the solution with ngx-translate with the use of the function getBrowserCultureLang()