NativeScript / NativeScript/plugins
[@nativescript/localize + more] Better Tutorials for these plugins [Enhancement]
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 206
- Forks
- 123
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die im Issue referenzierten Plugin-Demodateien und Setup-Beispiele zu überprüfen, einschließlich app.module, der TypeScript-Verwendung und des en.default-Dateiformats. Kläre, ob das Plugin als Pipe oder aus TypeScript verwendet wird, und dokumentiere das aktuelle Setup in einer typischen Projektstruktur.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- documentation, localization
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100