plugins
plugins copied to clipboard
nativescript/localize info about string-arrays & integer-arrays
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
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