### Summary

Problem detected on community.grafana collection.
The CI fails because of the following error:
```
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
```

[Link to the github actions logs](https://github.com/ansible-collections/community.grafana/runs/7376131642?check_suite_focus=true).

Edit: I edited my workflow to let all the job run and disable fail-fast. It makes it visible that issue only happens on devel:
https://github.com/ansible-collections/community.grafana/runs/7376236257?check_suite_focus=true

### Issue Type

Bug Report

### Component Name

core ?

### Ansible Version

```console
devel

(`pip install https://github.com/ansible/ansible/archive/devel.tar.gz`)
```


### Configuration

```console
N/A
```


### OS / Environment

ubuntu 20.04.4

### Steps to Reproduce

<!--- Paste example playbooks or commands between quotes below -->
On `community.grafana` collection
```yaml (paste below)
ansible-test integration -v --color --retry-on-error --requirements --python 3.8 --continue-on-error --diff --coverage
```



### Expected Results

No error related to locale.

### Actual Results

```console
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
"""Display a warning level message."""
        if verbosity > self.verbosity:
            return
        if unique:
            if message in self.warnings_unique:
                return
            self.warnings_unique.add(message)
        self.__warning(message)
        self.warnings.append(message)
    def notice(self, message):  
        """Display a notice level message."""
        self.print_message('NOTICE: %s' % message, color=self.purple)
    def error(self, message):  
        """Display an error level message."""
        self.print_message('ERROR: %s' % message, color=self.red)
    def fatal(self, message):  
        """Display a fatal level message."""
        self.print_message('FATAL: %s' % message, color=self.red, stderr=True)
    def info(self, message, verbosity=0, truncate=False):  
        """Display an info level message."""
        if self.verbosity >= verbosity:
            color = self.verbosity_colors.get(verbosity, self.yellow)
            self.print_message(message, color=color, truncate=truncate)
    def print_message(