Hi, is there a way to have localized json files wi...
# moko
m
Hi, is there a way to have localized json files with moko? something like:
Copy code
commonMain/resources/MR/
├── files/
│   └── data.json
├── files-tr/
│   └── data.json
├── files-ar/
│   └── data.json
same 1
d
Do you want the contents of the JSON files to be localized, or do you want to use JSON for your localization files? I'm assuming the latter. I'm not sure Moko Resources can consume JSON files. All of their documentation specifies XML. Here's what my tree looks like, with the
base
strings (fallback),
en
, and
ru
folders. I'm pretty sure you have to use the two-letter country code for the folder names. See the docs.