Print user roles in profile page.

I want to print users roles in their profile pages. There are two different potential functions for this task:
user_roles (…)
user_role_names (!modules!user!user.module/function…)

I can print user roles directly in my user.html.twig like that:

{% for role in user.roles(TRUE) %}
  {{ role }}
{% endfor %}

However, this prints the machine names of the roles. I’d rather have the speaking names, real names or whatever they’re called.

According to the documentation, thats what user_role_names intends to do. But I can’t use it directly in my user.html.twig.
Any advice?

Drupal version: