Get available locales for specified package version

Đang mở
#6,707 0 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 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
46/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ệ
cpp
Lĩnh vực
cli

Hướng nghiên cứu

Start from the show command definition in src/AppInstallerCLICore/Commands/ShowCommand.cpp and its execution flow in src/AppInstallerCLICore/Workflows/ShowFlow.cpp, where the --locale argument is already wired. Then look at how localized manifest fields are exposed in src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp to see how to enumerate the available language tags for a single resolved version. Done means winget show --locales prints the language list for a uniquely resolved package version, covered by the existing CLI unit tests.

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

Mô tả

Issue-Feature Needs-Triage
Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

winget show [[-q] <query>] --locale

A user might want to check which locales are available, so they might need to get the list of available locales for the package version in which they are interested.

Proposed technical implementation details

Add an option locales, which provides the list of available locales for the specified package version if the package version is unique.

Ngôn ngữ chính
C++
Star
26.6k
Fork
1.8k
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
42

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 microsoft/winget-cli

Tất cả issue của microsoft/winget-cli

Issue tương tự

Thêm issue về C++

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.