The toLocaleUpperCase() of a String returns the string converted to upper case according to any locale-specific case mappings.

    
    const city = 'istanbul';

    const cityLocaleUpperCase = city.toLocaleUpperCase('TR');

    console.log(cityLocaleUpperCase);
    // "İSTANBUL"