[feature]: Instance-wide default interface language

Đang mở
#10,151 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ArnavNath550 đang làm issue này rồi.

Từ ngày 30/10/2026.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
django, python

Hướng nghiên cứu

Read apps/api/plane/db/models/user.py and trace profile creation through authentication/adapter/base.py and license/api/views/admin.py; then inspect instance configuration and God Mode settings. Start by deciding how the instance default is stored and applied when creating profiles. Done means new profiles use the configured default while users can still change their language; the optional workspace default and localized invitation emails need separate scope decisions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is there an existing issue for this?
  • I have searched the existing issues
Summary

Allow instance admins to set a default interface language for the whole instance (from God Mode or an environment variable), so new users don't start in English.

Today the language is only a per-user preference: Profile.language is a CharField(default="en") in apps/api/plane/db/models/user.py, and profiles are created with that default (authentication/adapter/base.py, license/api/views/admin.py). There is no InstanceConfiguration key or env var that changes it, so on a self-hosted instance used by a Spanish-speaking team every new member lands in English and has to find Profile → Preferences → Language on their own.

What we checked on a self-hosted Community Edition (v1.4.3, Docker Compose):

  • Changing the database column default doesn't help, because Django writes language="en" explicitly on insert.
  • The only workarounds are outside Plane: a Postgres BEFORE INSERT trigger on profiles, or a periodic job that updates new profiles. Both are fragile and invisible to admins.
  • Transactional emails (workspace invitation, notifications) are always sent in English, even for users whose profile language is Spanish: the templates under templates/emails/ are not localized.

Proposal:

  1. An instance setting DEFAULT_LANGUAGE (God Mode → General, and/or an env var), used as the initial Profile.language for new users. Users can still change their own language afterwards.
  2. Optionally, a workspace-level default that applies to members who haven't chosen a language.
  3. Use the recipient's profile language (falling back to the instance default) when rendering email templates, starting with the invitation email.
Why should this be worked on?

Plane already ships complete translations (e.g. es), but teams that don't work in English can't make them the default. For self-hosted instances where most users share a language, this is the first thing every new member hits, and admins currently have no supported way to fix it. An instance default is a small change (one config key read when the profile is created), and it would make the existing translations far more useful.

Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.