NativeScript / NativeScript/plugins

[@nativescript/localize + more] Better Tutorials for these plugins [Enhancement]

オープン
#31 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、issue で参照されている plugin のデモファイルとセットアップ例を確認します。これには app.module、TypeScript の使用方法、en.default ファイル形式が含まれます。plugin を pipe として使用するのか、TypeScript から使用するのかを明確にし、一般的なプロジェクト構成における現在のセットアップを文書化します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
documentation, localization
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。