Skip to content

cannot set force_locale #13760

@riddle911

Description

@riddle911

Steps to reproduce

  1. add force_locale to config.php
  2. 'force_locale' => 'zh-CN'
  3. page doesn't change locale to Chinese.

Expected behaviour

I want to set default locale to China.

Actual behaviour

Nothing happens.

Server configuration

Operating system: Ubuntu 18.04

Web server: Nginx

Database: Mysql

PHP version: 7.3

Nextcloud version: 15

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: github.com

I want to know If my settings are right. or how to set locale to China.
Is 'zh_CN' wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions