Skip to content

locize/react-i18next-example-app-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a TypeScript version of this.

The src/@types/i18next.d.ts file also enables typesafe translations. During development, you can run npm run resources-for-ts. And on runtime the translations are directly downloaded from the locize CDN.

Alternatively, you can use the command npm run resources-for-ts-toc to download all namespaces separately and create a toc ts file.