How to use locales in app.json


#1

It’s not clear to me how to use locales key of app.json. Where shall I place this key? Under expo or in the top level, like that:

{
  "expo": { ... },
  "locales": { 
    "nl": "nl.json", 
    ... 
  }
}

and then, what should be the structure of the localization file? The only example I found is here https://docs.expo.io/versions/latest/guides/app-stores.html#localizing-system-dialogs-on-ios but it seems to be lacking context. Is it really all there is to the localization files? What other fields can be there?


closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.