NativeScript / NativeScript/plugins
[@nativescript/localize + more] Better Tutorials for these plugins [Enhancement]
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 206
- Fork
- 123
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
I'm used to the old version of Localize but there's no step by step documentation on how to set it up via the plugins. The demo files really don't help since they don't have the same structure as a typical project.
I'm used to this in my typescript:
import { NativeScriptLocalizeModule } from 'nativescript-localize/angular'; // added to app.module
import localize from 'nativescript-localize'; // added to component where it's used
const textString = localize('@@Translated_Text');
But now it's to be used like a pipe? Can I still use it in the Typescript?
Is the en.default now a *.js file? I was using a *.json?
Just some clarification would be awesome here.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng việc xem xét các tệp demo của plugin và các ví dụ thiết lập được tham chiếu trong issue, bao gồm app.module, cách sử dụng TypeScript và định dạng tệp en.default. Làm rõ liệu plugin được sử dụng dưới dạng pipe hay từ TypeScript, và ghi lại thiết lập hiện tại trong một cấu trúc dự án điển hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- documentation, localization
- Loại issue
- Tài liệu
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100