Skip to content

Request adding documentation on how to configure the system/user locale #2885

@brlin-tw

Description

@brlin-tw

I was looking for information on solving the following Ansible task error, to be specific:

TASK [ossii.init : Configure preferred UI localization settings(Systemd-based distros)] ***********
fatal: [host]: FAILED! => 
    changed: false
    cmd:
    - localectl
    - set-locale
    - LANGUAGE=zh_TW:zh:en
    delta: '0:00:00.008622'
    end: '2025-09-19 09:46:24.236281'
    failed_when_result: true
    msg: non-zero return code
    rc: 1
    start: '2025-09-19 09:46:24.227659'
    stderr: 'Failed to issue method call: Locale zh_TW:zh:en not installed, refusing.'
    stderr_lines: <omitted>
    stdout: ''
    stdout_lines: <omitted>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions