Flutterando / localization

Localization package
MIT License
33 stars 17 forks source link

Nested JSON file #8

Closed Mikiyas721 closed 1 year ago

Mikiyas721 commented 1 year ago

How do you access translations in nested JSON files. { "a": { "b":{ "c": "Translated with Flutter Localization" } } } print("a.b.c".i18n()); I was expecting something like this to work, but it does not. What am I missing?

digibum commented 1 year ago

+1

toshiossada commented 1 year ago

This is not possible, you just can do {"key":"value_string"}