ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] When English is selected, chinese masks should not be shown

Open
#5,820 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### πŸ“¦ Deployment Method

Docker

### πŸ“Œ Version

2.15.3

### πŸ’» Operating System

Ubuntu

### πŸ“Œ System Version

22.04

### 🌐 Browser

Firefox

### πŸ“Œ Browser Version

latest stable

### πŸ› Bug Description

We are very happy with using NextChat as our OpenAI API Webinterface and we use it in English.
When we use it all of the CN and TW masks show up, which is confusing for our users because we are european and can't read it.
Currently we have to manually adjust [the source code](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/blob/main/app/masks/build.ts), so the `tw` and `cn` masks are not included.

### πŸ“· Recurrence Steps

_No response_

### 🚦 Expected Behavior

It would be great to have one of two options:
1. Define the types of masks to include in the `.env`-File
2. Enable/Disable the correct masks based on the language selected

### πŸ“ Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.