Skip to content

Commit

Permalink
added clarification on saveMissing config (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijk committed Jan 31, 2024
1 parent 3e6d360 commit 728bb16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -111,6 +111,9 @@ for plain browser:
// path to post missing resources, or a function
// function(lng, namespace) { return customPath; }
// the returned path will interpolate lng, ns if provided like giving a static path
//
// note that this only works when initialized with { saveMissing: true }
// (see https://www.i18next.com/overview/configuration-options)
addPath: '/locales/add/{{lng}}/{{ns}}',

// parse data after it has been fetched
Expand Down

0 comments on commit 728bb16

Please sign in to comment.