Storing array as value in arb files

Viewed 27

Is there any way to store arrays as values in any arb file while using app localization in flutter? Here is an example of what I aim to do -

"inviteTitle": ["Span 1 ", "Span 2", "Span 3"],

Is there any way to achieve this?

1 Answers

you can use flutter_localizations plugin

reference link medium

create folder and file and save them

{
  "english_language": "English Language",
  "hello_world": "Hello World"
}

For Example:

app_en.arb, app_es.arb, app_id.arb, app_it.arb

Related