NativeScript / NativeScript/plugins
nativescript/localize info about string-arrays & integer-arrays
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 206
- Forks
- 123
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Hi,
Hope you're well!
I've some issue or misunderstandings regards to @nativescript/localize package, in terms of arrays. Does arrays are transformed into with each item in array as ?
The arrays are mentioned in https://github.com/NativeScript/plugins/tree/main/packages/localize#file-format
If yes,
I've tried doing so, but it doesn't work, below I tried the following
Json file
{
"array": [
"split the translation into ",
"multiples lines"
]
}
XML output
<string name="array">"split the translation into multiples lines"</string>
If no
Are there any ways of doing so, or will there be plans for it? Below have an example of what I'm trying to achieve.
string-arrays
<string-array name="some_name">
<item>One</item>
<item>Two...</item>
</string-array>
integer-array
<integer-array name="some_name">
<item>2</item>
</integer-array>
Hoping that there is such feature as it would be very helpful, looking forward to hearing from you.
Best regards,
Cheers
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 mit dem Lesen der im Issue verlinkten @nativescript/localize-Dokumentation zum Dateiformat und vergleiche das dort dokumentierte Verhalten von Arrays mit dem gezeigten JSON und XML. Bestätige, ob Ressourcen vom Typ string-array und integer-array unterstützt werden; als abgeschlossen gilt die Aufgabe, wenn das Verhalten dokumentiert oder ein klar abgegrenzter Implementierungsplan definiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, typescript
- Bereich
- localization, mobile-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100