I use the following code to get the Administrator role
$admin = get_role('administrator');
This works fine, but on a different WordPress language setup, this code breaks. For example, in French it should be
$admin = get_role('adminstrateur');
Any cross-language solution?