def get_supported_locales(manifest):
 return sorted(filter(None, map(find_language, set(manifest.get('locales', {}).keys()))))

def get_supported_locales ( manifest ) : return sorted ( filter ( None , map ( find_language , set ( manifest . get ( 'locales' , { } ) . keys ( ) ) ) ) )
returns a list of all the supported locale codes .