{"_id":"@bothrs/translations","_rev":"35-67390f1ce7cab8b90811ef1d45cb7306","name":"@bothrs/translations","dist-tags":{"rc":"1.0.0-rc.4","latest":"1.2.0"},"versions":{"0.1.0":{"name":"@bothrs/translations","version":"0.1.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.0","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"ef12ea61ec7ed31a2e7d7884e47eeb9ae962218b","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.0.tgz","fileCount":4,"integrity":"sha512-3ulz1SEC66q2ZGIFVua60G9rOa34o6qNYsEaA/1+GEhdlP6emSso7MrnS+QjK9/ltqaysGxR6vo9ey/k9CqmCg==","signatures":[{"sig":"MEUCIQDahHNIwoaJEcUKOmbO179o438dTDG3DmpSM7iSS7g+wQIgBwSpL0H5ASt4YFtvo64BE4co9k+eyvqkrfQiRZ7VUHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6029},"main":"dist/index.js","gitHead":"908215aef39900167e9c84ea133464492c783780","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.0","dependencies":{"react":">=16.x","i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-multiload-backend-adapter":">=1.x"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.4.2","@types/node":"^16.9.0","@types/react":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.0_1633331444275_0.6957699848594765","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bothrs/translations","version":"0.1.1","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.1","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"c370c307fd7d63022d623ba9fa7bf465cb80f6ad","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.1.tgz","fileCount":4,"integrity":"sha512-vdvHElsIZchefEYoyxx2pi9oOUQLucYY5SlT4TorjDSICa1mYBOwe9HWKxhosZHDUg2Fk1lioobDkAVC+ALlTg==","signatures":[{"sig":"MEQCIAQSAV74mhKPAoTkv1N+rWZuOAFW3psbXk4Op6sPdqpIAiAyRKNJ1UZtj5zRZ5sbDaApApvL9oHPVBvAEzE11BWW/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6107},"main":"dist/index.js","gitHead":"5e312f579d52dca9c85229542b890ca4f359c70f","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.0","dependencies":{"react":">=16.x","i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-multiload-backend-adapter":">=1.x"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.4.2","@types/node":"^16.9.0","@types/react":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.1_1633415179157_0.8824807694550625","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@bothrs/translations","version":"0.1.2","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.2","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"15b9b7955b9bb63639f70fd1f3a13e36a0c2a517","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.2.tgz","fileCount":4,"integrity":"sha512-eTxu/PjyzJtWuctQk6S8Al2DFFeWgJz1ebD05p9rPicQWS88Wxx6Gn+fUlUHaxuIipPB6rkNDDOH5bgSizJJEw==","signatures":[{"sig":"MEYCIQDch2TGSoM0U5tdzAwJSxBIStNNoMCQ1smajtqugIro5wIhAIsGYOypAEfFSdI/Ub/HW5A24dT8dpTykNrXvtQunt4w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6135},"main":"dist/index.js","gitHead":"cf8e1ed715314a3bc8f0f40491bf26a33452fd78","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.0","dependencies":{"i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-multiload-backend-adapter":">=1.x"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.4.2","@types/node":"^16.9.0","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.2_1633600377808_0.6643660137296654","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@bothrs/translations","version":"0.1.3","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.3","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"3a20ea492875d9f5882e361fecbb42c322e18927","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.3.tgz","fileCount":4,"integrity":"sha512-Gr0Z3dVstRpfmiDOyqB7LLISbmW6otan/P1bVzBpp0oyhN/RKPTWiG1gyJ3Wuhx90ugr3KgYacynblT306fAeA==","signatures":[{"sig":"MEMCIDV8I5EvKV3LiuHnHBdhV0qp+sbFbrW5xwSPSVaQRJGXAh90g74ZwpFS7GejvPczYJZdDAWQBXdguQeaKNAvRTIO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6199},"main":"dist/index.js","gitHead":"517d426c56ae4acd45b5b8d45410ee5ad944031a","private":false,"scripts":{"test":"echo No tests configured...","build":"tsc"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.0","dependencies":{"i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-multiload-backend-adapter":">=1.x"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","typescript":"^4.4.2","@types/node":"^16.9.0","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.3_1634648826802_0.4338340801624847","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@bothrs/translations","version":"0.1.4","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.4","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"b5c03ebe28103a5bbaee4213e3b9adea76772c66","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.4.tgz","fileCount":8,"integrity":"sha512-WjZMp8jVFffiXskWxyNyJ1+wAf74hEkwFvF0tjWsE5eCYZtqxms0a9J9zQFR6ARqOW/di5dL3fdMVNhOjfjxug==","signatures":[{"sig":"MEQCIAgbm96AvUfOeB8oSOBOirzTxl7jkvFHEczCvvF8f4JKAiB2THzW/C0vLcv7yO02C7PsFQAoURFXFT1FcU6ivDbYww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23461},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"36f6967961062ae97b3e867d9fb69e5e80f36dc2","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":">=1.x"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.4_1636469699968_0.7321955125188093","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@bothrs/translations","version":"0.1.5","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.5","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"3aca17cb56f23b1e2af6ab2595f3e8fcac0479d6","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.5.tgz","fileCount":8,"integrity":"sha512-YlQk6dzxchhtSQJ6rv8sUJ26t7T0jFCiakOLy8SNhBmSTewmahT2REeOrPVPNarC5JRmYQaQAcGojzYUulnsLA==","signatures":[{"sig":"MEQCIGt9KIfixvij/GrAeRvF/m4mMWI/Mjff7YIhR2QmzZ/mAiBhy/SyOZDKEOGmDSZtYkWe/ggqLb+QRmxLeCqlyLiNpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23461},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"5b06c5e6c4627d82c77954f3bb4a9e58f4656dc2","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":">=20.x","i18next-fetch-backend":">=3.x","i18next-chained-backend":">=3.x","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":">=1.x"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.5_1636470255828_0.5476060892248023","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@bothrs/translations","version":"0.1.6","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.6","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"200940ed685f9ba8d02a3db9865402633f1fd689","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.6.tgz","fileCount":8,"integrity":"sha512-+2Dm72SEP6k/WmyKYDwfDrH7I45dZp9n6kONYkf/JYub6dghBI1PCQzb1WS5Cv8avP2mH6zsaCad20zHez6F4Q==","signatures":[{"sig":"MEUCIHU+OFm8xdIWr2IOEDDMDD/l9qW3dORFKEhBxJFzaDy2AiEA4EEUIalM3SOgNlaj97T9nDUleKJmwgsh2vDXeIA7EoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23489},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"9ac1897bc90760b2290c983214213e07ece10803","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.6_1636471199144_0.9555105183537356","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@bothrs/translations","version":"0.1.7","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.1.7","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"48581efcfbea77b3f3763d2f5dd3b57131dead15","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.1.7.tgz","fileCount":8,"integrity":"sha512-DFXZ9zYOBjyTL2APQxIdu2rVqgMYAW2BSmmyjgDdzoWQrlPIvXDbXKxcQ49ENEHbXaZWdAviyWNJkoPFuzhB4A==","signatures":[{"sig":"MEUCIQDy+igofl1fEd5O5aWsoTmMN83GJ6nsi0O8elLOkUJTuQIgTfTeINbsoypxDdRmimrkC1sQM3Y4nrhp8Fs/fJ98XOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23489},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"09306acb9e9783c0ea427b2461ee6a3086769367","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.1.7_1636471392316_0.6388622054106754","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@bothrs/translations","version":"0.2.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.2.0","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"ebff68d5714be5e6e31d520cd272f434f71b10a9","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.2.0.tgz","fileCount":8,"integrity":"sha512-G/XpzrUXi4ojPh8gy1n3g0yecabapglzq9pGir04B+EtN0IhS08y5U6jNKz8Lfw0+Jue+XNDH/2QgHw0I/vzOQ==","signatures":[{"sig":"MEQCIBenjVJi1ClBYJ1mqFpsn9fQKx3kjPOyP+yrnD1Ag60nAiAUM8ARiWUaVgQRlsGNuEZH4BjiNC8+E5UxjzrWhbylZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24026},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"4a171f452538e01551a0540c3788f778d9fec3e6","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.2.0_1636538192243_0.7754485977097727","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@bothrs/translations","version":"0.2.1","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.2.1","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"wardmaes","email":"wardmaes@outlook.be"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"thomasandrewmaclean","email":"thomas.maclean@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"af51f7bd6f496f1929c17a71873554dd7eb2145f","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.2.1.tgz","fileCount":8,"integrity":"sha512-O7vhDYSPo4eBPUdxakMK68zIV51b2d/FNnU+3YgCYFjvBGPM8NZF9lYXlNzA6j9gENggUrwiUrJBeBDgrfst5A==","signatures":[{"sig":"MEQCIAF/y9Y4/HmAoAnPZNaE/UoQ1HSK0WB+rB+Pk5R4IUp6AiBfZV8caYZBYSH8OQhLDXHYDr//knUtOGAHPgPhRyeufQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpeaCCRA9TVsSAnZWagAAIvAQAJrNQOGyb+/P3gx9d4bB\nvpG19UgfGCOXsTyprfgwklWr0nLe/QaRAr6glZuRv7/J0R5zaqRjU/n7Ig/y\ntODjVGN/KyY3OW1esIkHrluc1bYiPa+kO4s0nFOjPMK6yg8iI2fX8P6r2gn2\nK3Elf39NMb1pv5Kj/QTxiGkb+HG4lkN79rsjkI13fGeFHyYV1D+hVY/yUwM1\nS9S0E2bgziNJjYITCV7vScRuffR99In26rIBX31dzZwYHxPFAHpMjBRs8sF1\n4xL8H2LdAN03M+zIjclsEJNG5u+k5qGry00zNx0vuODic4K1ClLgvwFPRvsE\nh8ZxCXVyKoSAGx1J0xwk4XNgSSMS5XPNyw3aKlAdDZpunst+qSVyCyoLfTfk\nQZ8g/rAMCuZSWNb134bXWd8VNPN0T1DPEbg6wIdXkJAKZ+60eV0ibDgEK9nK\n5ts9RZ8WvDqAm7HkCk7wXjO11OQTfw3yKBeW6XxsgFfQRtVqcA2/iaZ46Wus\nEIrsxEy+W0iXm4T2+5EA2LuRiToqq3kDX/fLFCOAZx2Y8wYbqYWaDJpC4JVd\noP+s3Vwi9SL1OPPW52FkZ2gePca9mSfpZZOpBzxa4jFZOLodid90mlC2vsrJ\nIjmgbgTVpAy5Wfjr9BHFnXJE6/LVIGra0zEgmZdvCm4zJAyXwArpvdFP/btA\n3sbR\r\n=jXDN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"4393fbeada3ed04c3a23dde4a05b1610438f7548","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-async-storage-backend":"^1.0.2","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.2.1_1638262402325_0.27172709785870963","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@bothrs/translations","version":"0.3.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@0.3.0","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"80a6493a549db218693d99ceeef5e8b3c8eb26e4","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-0.3.0.tgz","fileCount":8,"integrity":"sha512-Sd8ueFEJ0pPttzriMb3pPaU2ujZSd1fuldrz4g594wV77hSHi9d93QMtG/zYG3K1+ijAMP8lwN/Nsu28iQpUhg==","signatures":[{"sig":"MEUCIQD6vRGkxYpeMUxUZBW0t2PlQafZ4FCvAZwAC1lgaiOvuAIgfO23J+HTTIbF4zUnJmxXY86yLn+tzzJjTkHnuuRt5HE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1C0ECRA9TVsSAnZWagAAqdwP/iRyGDWNLRtm55yo79jt\naNZTkx3lfyRnmyGmRA5/Sb1nVz2Prz71RfsOJEV6iWwx20bxGqq7RI2xefeq\nvjuYBCpOM5h3mHETI5xCRkzQ2nw1RBzhSITHdJQFp/p0tdwJGs8hTo4nbjWk\n3MW/PhUhp7KCoxOKcGTLtnyRzUqffgXzcGy4qv0tMgPvEV4AGusSbGE+Wq0x\nq7ifkCYAueVhDoSjRPKbQf/1xHpi/TnFT04Moj43/GMT6ol78JsSy/RVFr15\nFqcGEbI7dnetmUrMiLexmUCCk0ygBX6447Yz1manhfkljrgo2i+n5cnivIfh\nTZd0IX8Hjx95heWKEzvSSmC7ZCmDuwF0ZlDJHkZR9QNr/RVacf/lRwyyrbmw\n9X8iJwC+YoK+AkyHtKzRsvue/SxNoA2rnSlH6ke4wJbYTkJbBIyzPbQBJ7Vu\nysY2ZeVAusFQXR694yBo6jOc0T93hCn3kFWDYLWJ9f+bzbSdkKDnE/oRpvhN\nz3vUx4R7qtoj03Bj4heckX67MkYMEMu/mM9ordm49la2onwiuneFsVO5hD1K\nicJn3P7ovcFUfqoAhCr4LRcrivN1wuNRVhQiceGx9jPCfoNLiVol1oW4J0zs\n/sZLunclnxRU3wJMu/mh5SuxNQRAUfMy4YyN7sgv4NAtzZvk1s2cWN4dZTfM\ndQ79\r\n=C9Xw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","gitHead":"aa39f420abbba30e7aa4ab8e9e125f45c6b6f619","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && parcel build","build:clean":"rimraf \"./dist\""},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.2+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.18.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_0.3.0_1641295108251_0.5558236624030082","host":"s3://npm-registry-packages"}},"1.0.0-rc.0":{"name":"@bothrs/translations","version":"1.0.0-rc.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.0","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"1a72632ac7a95fb96355f68e31453940ed7db3e8","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.0.tgz","fileCount":10,"integrity":"sha512-0ihUgE9l/mqc2SUVBy4zXjE01291y2ND6cMS7R5xqKrANGfCC7JMQI9qI/pFwfJN1bRyhBvNK+4uwz6kzH1XIQ==","signatures":[{"sig":"MEUCIQDO7n5LE+rRk9i9oHTNQH2Diif9h9lU7iYCAV8HBulMHgIgei7wmrJIdUCZOOPihUsoUORlNq0Ep5Pb6mqUkoPJgOk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBRvXCRA9TVsSAnZWagAA+1cP/3q7G0/a9lbW6iWeW323\nRfB/om0DKSMXTyscyiSdwfVHKsrNsqVCiz3D4wrLsBAXqa5kz/TOWcQhxelx\nxCeR3rcmu8Q0MbrwA5RYeE2JxNGwUP51jUtJdJnDIe92zf81at0jaKCMbqWy\npe/4jrMrKNMIFQvJEEzIfRkcdQ9wmSVKEDApZk48P5BvYpP7xuy7DM51ZxGy\nF5ovRwxNFIdB2hf/vhtT7Y68+fiqSzTIgRBZRJwrIViWjE8064UZxqwalSxH\nrWfD1APrXhlNK5tiJfEM3v7JJappyA6Yw8VyX+83wIMKzw6a5qqX/xavxn1v\nH/rWm1UboUorWrKgyBuuxs6xBf1TAPRFnyk3FH9RSGSVTjv+baliv6jSW98G\nU1beHd9xdCA5voUl+yNbhgg6e+eArD+5E1UREhDhYEYgmka3wYDcu5ewcF0G\n9CIaSBU/nUquZOjKvax5yJfZw0Ovyuz7rRc08aCJYYYFVe+81rAh8nOGSIQi\nNcrvlO/PMNbXE5VEhD/klcQ80ei5mdHctSjjXj72ntg9Cx2afFQ4MX5trMON\npRz9QvpL9iqbwchhlwSyUpLGsEXP1gnnc7W2JAw3kiuWTaCQU+M5MgGTSCfg\nFVj1mXl2QNoWcxrfDmVgmvoq0jH7ss1VfPAegF6SrPU8vyiKmrN5ksE72LIm\nJDeo\r\n=Mn2t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"dist/module.js","readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"9ac0d00944cc47257914c76af117a45dd096dbbb","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","build:clean":"rimraf dist esm"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.0_1644501975627_0.10093083474737896","host":"s3://npm-registry-packages"}},"1.0.0-rc.1":{"name":"@bothrs/translations","version":"1.0.0-rc.1","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.1","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"25c978df6af4a7e51aed187b6836be25f446bc83","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.1.tgz","fileCount":18,"integrity":"sha512-pheH51Vp17APuommtQM/WCRSz6fOglfeow0LHLB9gj00xFTlMSOPVP+72ys68/Q6Iv9BvAlfYla7JBUQzk8iwg==","signatures":[{"sig":"MEUCIFAbIl3z7uwOT3b7BFipQwwrrYG/Dw5J2m++Fl/3jnnmAiEA0KUA8lVRGydbjfcTxciaddfGcBM5auAzJm5jTuYUJ2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBR4oCRA9TVsSAnZWagAAAPoP/iqAVwvQAOFlf5ezpEVY\n3sTi9nxKluW0mPZDwNo4680PZGWbf4XsgUj1Zm97cd3x1Sb+fVwdGTeUB/yM\nSFNz9JdGOmGxHcPqGqzVPdDbqUqsb/KIkR5c/CYvBjan9ULbb7NBrWckszc4\nEAOaGTNEAZzw4VKmncTymWwW2blW4UJo2hL+iiTGBrtrtzyRLYoq174KI7S1\ncm7iJuNitp75SFwLcXgjh5wrXDrL3oR+bDcRqUXGkLLGzWtylQ4LnwA2eCxt\nQiFJVkntNPLCgNKBONIhiFLwAoR2OzuRJKNQd2ixYbrHZxTd3nXaYng6tcSY\n6R4fyILU5C5JZ4zdPEcUgC1kufi1QeJDiQjUgGUpkoOG3noKY9xKziQsHZtr\n8hZej+grTaKxstZ2iw6CIIUvnfU6Y/XnJbFRv1Z1JPqcXn4C0WBef/E1lMQE\n/WcebO6svcxVwrMUaGkDUuJ5gGBJx5b+9QeApf89p0BBeOPJics8HGk5rWi/\n6t7GNX1ZU52Hfj32211ENfEPClPAMMXMoxwSFNDEtcBciKOxgD7Za89hqZy7\nLog0/d7TLilRxdd/r3188QEt8pwfkyMA+JYMd/f8Ule65iCm17NkWfzeVCAG\np0lBhFHvF7Gs0Pd6s5QAc/HmFM75/PV9ODOeRurjffncRoPHgtBKxjwjARn2\nHY1/\r\n=7DlY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"esm/index.js","readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"d90242639e6370483b97d757b1e9b6ecbb3b2ddf","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","build:clean":"rimraf dist esm"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.1_1644502568102_0.6434864873685842","host":"s3://npm-registry-packages"}},"1.0.0-rc.2":{"name":"@bothrs/translations","version":"1.0.0-rc.2","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.2","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"c54c94f6a136f9299e65b2f8a4ac75ff95596d13","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.2.tgz","fileCount":18,"integrity":"sha512-JfPMN3noaQobuuDwCr+U3nsmVWFA6RBX9JGiz9d0+kHEIEwU9mPNjrV5dK9zqZCDTIQ5ELYT4TakJ+kic29iVQ==","signatures":[{"sig":"MEYCIQC74Ks6rsPfNVgcx8AQAaZS2kapYxMQtlDsVcQ3gq2ltgIhAJqEaYI5LG5bMt4MIjq1DxQP/In7OzkL1q7/yzA7ewSS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBR8KCRA9TVsSAnZWagAA37IQAIQVCX0j/KnSA4Pjp0lM\njKwbvAV97nCzjru8aDJfkZ3LrNKpYmP/qvGNxDHXNF4zFJgNHUEsz0aEYj+/\nAFAGKe517HxAy8MjcnvqCUUObzcK4Igp57Dm6TXcUolrAGWDp6pIMK0a1P0a\nFVD10yCxyYNat5KOZD1p2ZPdrOfXB0SjygNLsglLoDcH92YYIq8KVkd26+ns\nZh3s8nfO9Balsyk8gDIegcnlTISRbh43EWsAFq+9IOQuJZXj/gqxk+gCQcOM\nGXgzczoTv2Uv/+/ag7gbl3NS+QgMtSiHHQvq/m/dYa3e+hrHNRPnVEgCKX16\nUf8QU75bg+B7Vfk7lEmoyKC+rZfWka3jkXSsN8M3pzkCBlZ1UwFCKsEdlz32\ntSw+bQep/d+PItXTuQ+VsVs3Yv3dn3oxjoy7POalFQasbFFDNkrf0mcY4gXg\nsys6YmLPExGi7IZ9L5boMjgwskvYe9brunx0WRD8Gz7MRs8wnpb78dQwgOCd\nXeGcq6lpGy3+QS5xYQnk9swFmMDArBeX2okCNlcan+SOWrM/WbDQszVOqF4W\nsc4h2EvTcH0W6tLbKCiFMGqhvEfsy3eASXXt1XpIFiQOcGfDVzcIW0CTH9NL\nE8Wj9aD/bi1z3twEaDKR5ftXfxG+TEBD04mQYbNCWXQ52eiB0wiIEbPxCEGQ\n+tVs\r\n=ysTb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"esm/index.js","readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"68133afe0ef1050c33d1717e2d4b60fc2e5ba5ce","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","prepare":"yarn build","build:clean":"rimraf dist esm"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.2_1644502794269_0.5916627043054739","host":"s3://npm-registry-packages"}},"1.0.0-rc.3":{"name":"@bothrs/translations","version":"1.0.0-rc.3","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.3","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"9488a0fb9fefe3dc7ee6bee1dff67f49dcee82aa","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.3.tgz","fileCount":18,"integrity":"sha512-5v1Rt5dX9JapRj+HZxxMUG9peiD4jutj+wEsnNVVhaDEtALs33H9+e5H3jxwhLSRrmgIfU/8xZ0E1TD0YBnWSA==","signatures":[{"sig":"MEYCIQD+/+TGnMSSWuIUPUbD5BiIb3wcnvBwrv7UiEYmVC/ImgIhAL7obXQftZ0Q3hZbLWXQ6RnccM4HkI/+ROPFsRRxzQVF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBR9UCRA9TVsSAnZWagAAPFMP/0VwEKOOdfz+FIA4me4a\ndpg8a0Lx0uQCwJeS0Q4UzPGetdIRL10nKL8UhWRQ5wRTKgaumF2RzgMNRhKn\n0QOq8KrUK++JVoKDW68pH9kxFXw2Sgn25KPNaw8z5Qcg7YDVd7j6DU+4GtZt\nxctN1iFuOFI6JkluWWF52zK+rRbnfLCDoCz/WJZs8piho7A989GkQcDrzis3\nMwZ2Ue5r5aBvFTq3PW4EvnVNeW0QAVxramA/uFME3T+i+outNdHK0TzNAHe4\nzC+G15JUzA5AONqB3FMBJkP+ZYf/rliFJUKim4vSLiSPnhh88RPcO1kNlV8P\ngroniUy+8WW0Sr/w/ZfGRandGFGRTQ2kt9GkONU/+SPEuGooGimtbnDMeeRE\nMsZNtyMsmEYGLMTIZfZwUm/3nTX9qGcsHS4VKjpGoSAuBAkkdO4uNaABKZRa\nGg47P7wjMyYlkvn3292lzdtsbpX0I3zF8y3kfInlZI4YJ+jZQFc0MMwRhawZ\nprHweOnpYSaLJpPhT9d0kixD3lzDkfxGgyqnTFiia/Wb5ZLZZz4kaCf53rZn\nLZ2iVGKLnBf8SjCGZlJz86pMFr+sRUvo0ljshx8bgRMs15bt01bLDlfxJKzJ\nDfTMVvPahucAIdEuE9V6cEqbaJpKIar9KorVKmcTBJssusXNytG0k6F8Ro0i\n0aWg\r\n=ounc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/types.d.ts","module":"esm/index.js","readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"3537a46a25f81cfffe121f94cc3a6bb65382715b","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","prepublishOnly":"yarn build"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.3_1644502868193_0.3285566485457536","host":"s3://npm-registry-packages"}},"1.0.0-rc.4":{"name":"@bothrs/translations","version":"1.0.0-rc.4","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.4","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"05ef11b5ad6b2e8e54304155b163cecf448cfa88","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.4.tgz","fileCount":18,"integrity":"sha512-dYmxw7P8eC4gSZ7IJ8Y8CYXYkt8p3drKRiJrenzSRpVxNHzYB53JXo/FavOcIAh78XzQwyvnPAf6H5Ym0B/YeQ==","signatures":[{"sig":"MEUCIQDJ8+W/YUSj4fVC8H2CLMTqsPI8bGkeO5ubFwbo8KdCdQIgOF0Wn3dYr2bgSjCs5b3Ut7JDtxYVM2+TPTwwMPZ/cuk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBSATCRA9TVsSAnZWagAAJEcQAKT94gt2GSJyfUzNfIkr\nHVmGAQ+E40ehCbUc/4p2HMnXJBHJ0rrESHR0ygUKLLTcyGwALRlWWk0Ixpat\nddZ+isjx15blqihM63uGq3AOQav4EUBuUUYBzPWSXvlpPYga0rd6gY0OHjRg\ntDXPRT9UuV+tJV94qYFDUytj7vfko70N5r2gTi3a9t5RaAM2vI8tpHtRtzJN\nBeP53UNiAwM1J1/UW81JcX8qo2nMUrLaCNYKUrtjQLBwpCmwJhHrB0WlYeNj\nOyqjaKNgVDBJEgJScr6DdbpU6hU1gshcg2ihL12/db17neMhPQvZSeohCowF\njjnU4YuiRzVXzgKuYunP/OdplmuxlH0v7KBe+WkJmwhCD0tCvTKm5rIXG+Z/\nWXsWLpxuA5eGFsf3fYMmxy3x+vIXZzQrAyfqNnIvf418Nk8TKL05GRDiqEx5\n9bQQYi60Dc4aHo8l33Qc9bqYWnlcAvAXsbkBtnbVIKp+m2N/yAaKc92DlFwl\n4/cxrN/+nfPFFXxY8RqDQolS6d9FrunlnPRL8poiR3xHGCsHRtjkrsl7gT0t\nbgSwFmplLZpoQ1BVhVz1vIuxryYcMlpcm6j+q0QAKw7aobe6LfKnSP2OQIEm\nViwHPJd4w0eSAp8CxiOCtky5f1NnjgTxv1iDtR00cEV2sQ6uVWZAl16HmbEJ\nBxpG\r\n=dGtV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"4256cbd8f303a1d90696c7d7f02a9dfd28c795b2","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","prepublishOnly":"yarn build"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.4_1644503059038_0.637525395292361","host":"s3://npm-registry-packages"}},"1.0.0-rc.5":{"name":"@bothrs/translations","version":"1.0.0-rc.5","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.0-rc.5","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"289c8dc42e525dd263896455fea1207166ed549f","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.0-rc.5.tgz","fileCount":18,"integrity":"sha512-jdVAMGP2Eta2jCNGZVB8fHFpx17Ggq40uyvKSFVbkYP85kO6QjXyxYSo2H1OY3byRbk1otGeZCzztSYtRiE3/A==","signatures":[{"sig":"MEUCIQD5AsHR9tei567pf2NZiv2Xb/yw8Cz4U0x6rL1aMuxVVAIgVim0qHtUDXEM0rSQItOvap1fFRFncHpHgJ2BX2/Zk3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLwtXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofIw//VpcuHpyo+T+YVkUM7A/n/+IidO0mMp0hqVd5zq+UMAkPSUSr\r\nrOb91TPeg7F/5wJulkn6S+f6cjMo3OX2G43RB0+dxseixij0ISy345NukQqV\r\napa0v5aY1waor7Q+GaPtVyfjJi2NOcQ6Jv0+zoXe2V2ayooYyhpkLlrRjJuB\r\np+mtdWBMiQlA0OrdSgalvZMy4KXryJyVoQfQpAfiGne9vtZ2+mgK+tAyKA0j\r\nkR28GQnAtpXV6yCNqrYDUXZJ/nKx5pozWj9WBEJp7aD2sD+bGynVw9fHGHgL\r\n8/f4oU0VZ+XtgcSAUViQsH7KxAr9r2J/9I4JYjFQl0qjyxsoOEL/8ZNndeOT\r\nKMWJfo+0xbfoBLqRL6XVE80BrKtoxt+K2moyazGSOr0HXYom/75KItc/l7ey\r\nKQYh8poLREvuItwfKx5iFbI85uBFcaLlKvjGnSANS5GEd7/KRIB1NyGLQvpA\r\n8bpP3DsRdTv1en3PSYzgMiRrmReV221y+ffA0uTwLke2YXm9iZSxACTi3M2I\r\nhBPopbLQnqFL7hLH9bekhOSI9jAqFxF18Ri/tfm3tMZ2qmR3Zo0z2y8SzFYw\r\nIK+i7pGQa1d7SiiNC8f8jS1TdMcZCB0MnGqt2c1wC6Uaao2YMUUSgkUdzFe6\r\n6QmmnO5LKs1TpCPcmJgQXELBBnJ3sih7F98=\r\n=8rOw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"15b0f20b0a0eaf914a24c1eb66582279c888df8d","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.19.0","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.0-rc.5_1647250263699_0.49464824017018416","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bothrs/translations","version":"1.0.1","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.0.1","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs@bothrs.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"675a430eb17ee277748f9f4821b4383f07e71673","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.0.1.tgz","fileCount":18,"integrity":"sha512-YCY3goRW2vZTfOhwP/Ac6Cq9U35PiilD7JobBCE3CSJWX1TgP7aX1clgQflzYfUjhuUNcLHk105LBjsEgdIXKA==","signatures":[{"sig":"MEYCIQDdfUBouISsL15Qi8xFy+ECHSufArAf/z3VDvo2Ko7+pgIhAONXH4lQH3YKTDAWXXS627KZraLNbpozfV9qFfUHJbex","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLx9vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7rQ/+JgkJIyiab/OZmfiMkqdWbTn59b/9DPafQwUuv779XBUoWYN8\r\ns2lHUa+NSzxCjHck7vs/6V3hpX4WXF2Lqg4PeL65YbTI0mo3G9iQHrrJlJia\r\nw3+S2kNaFdvMtXt952KoodjkRSuqZPPMoInompIc/jHeffWekHfcVfePgtAa\r\nlL7yl5ubMSIAgJIwgdGK8R0RZS1zxEV8i/a8XHF84o1wppTj9LFAGa8yQYhO\r\nucpMXIQrijHuFr9hmLBvo+LmoGuc4WpTVIUW0caHEJfrPku9CBjQGDsoOMlu\r\ngtTDY5RRtlYz0WZRIcvYx4kHhRjl+ez72p16WB8sWQOfqnCCLEB8iljrANUS\r\n8qvFTLNcyLSuDYzRCVTTVtVA4jztsq8pxAXaLJeWfivdVwvec4Sz0x2zaFdX\r\ni+me4fSME5Zeh/W9aeh740/9gUO/OCqXcS8dAgr2xrMkRA47gDbbPy3/bsgW\r\np8M3CypYawVipAtHq5yykauCUUlL2UyU6N9AaBY8MRuFuAOxvAxwdgNnjnwZ\r\nBOmG0InpSEOL63jIotCEF6EKTUjzUIUIt/xcGmGYvuK42qEhga8jvUBayPUx\r\nRsuHghBdrOGlPPFgO6E8nL582AVhF0FpRasDaJjfO3osNgkYpoaGWr1fWPzv\r\nWjuPBwI5rH6xgD6CuLl/LY/cUD0yQ7RE1Ak=\r\n=8Zv4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"9b8a073bd62acc36bab61e52c46ccc3d60904daa","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.19.0","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.0.1_1647255407547_0.14051847970616183","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bothrs/translations","version":"1.1.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.1.0","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"ea25ba0243198ca9879a79e91fffbe02ae9fae62","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.1.0.tgz","fileCount":18,"integrity":"sha512-l+p3QfqFTRQissrwXM0NZ7HCYDR5KPdpXw09SEfd8mGg7GT3HLzCwVVfI3lOJ0UI7EoacBEOo2SQQWwL6xZNKg==","signatures":[{"sig":"MEYCIQD4RyC3kA+Lcsx559Qa9LE5m7d4iYfV5pk9yF/wQka0GgIhAKz4K5pDTFmTy+Dp74/vvKnxAKngxyKRuMRmxmtYtBEH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVsX4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+lw/+Pr/+5snkquDyQm2LbknA7FDya8PF3j4HCNZG7ZRD49MytkEP\r\n1cMPJoyU+mKPwAbgGdXEoyunL+l7APYmiJnYsuIyiaEFga6ErJZNAoJq6/2E\r\n0W57U+WeFHX8Y1guzWhwPOfwpgeRC0wiHRb5hWG9H+hEp/QmJLYt096TXoWA\r\n6v3SS5ZOIz6spfwmyEFqN+Jo2tVhbVeg7CNVGRj/VkL3afQZikPyO9WMeCwY\r\nHKcMomhy3kxsWAdPo1pPfJV0XuoeyGzLTTQIr3ueonrrc4kfbIomA+KOoz1v\r\nEbgB9ZolPisc6F8t8mDREwOp32xKPDXsUI/QCWB3W5hJ3ehknlwxUZxbs0rj\r\n2ogWuw/MF1vDjAYlXeJbPDeuuWse3lDktM32wJAU1PjjIv+i4ARJkSdKHnyj\r\nwqxuqeNmOkkrnxE9ovEIWIxH87izXtZF2B6abe6LysuEfeFpDEmw/BrzKpZ5\r\n54Kes2069r5WYNoNQue77+OtaiparO/D51QlZEsRmFpcmy9vrHYULQcn6ELd\r\ntt9wUYvLK5WDUnv5alo59AyXS9wPYpURvWlUs8+d3Vk6pemi21p0R+K4PKYK\r\n/jlu0mwC2KI7WEHa6X1sECfA/qIWBvyx8kAcguUg4gUNwcqnYtaY4fL+qySu\r\ng0BTytOF70VeJF8F+AfksxwHhtvJuXcriKg=\r\n=LJJU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"19feb53f7e4252fddaec02d3df8ecb34e59fd022","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.1.0_1649853944319_0.9919779469305501","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@bothrs/translations","version":"1.1.1","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.1.1","maintainers":[{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"353a8fea87d86a63742669a4017faf615bc01990","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.1.1.tgz","fileCount":18,"integrity":"sha512-rh+KuIICj8Pw6nNSzl+nd2kBadd0X+jcPqDJlfCLJpT5qc7e/jBTlGuoCGo/Zdo/POxG+Jc1C33D4+EplUw2bg==","signatures":[{"sig":"MEQCIHY3CvUpAO46Lu4gT6gAk/sBXWLolYtWP+aA1PEP0u4cAiAsM82giFmVhWLQ3tae6+ZO2T01s1wTPnF3x28RYDa0kg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic8x9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNVA//Q43xizb3UayVCuV6FauGgZdeBJIqVBPAHAmZMpdjK6AFTyni\r\nMmQpOdKBcNF0YM0/+KPkiCghOP3jIa6kOErKE0zuCYfEB9xt2L4tl7xbXdJe\r\nZlXJXlXCTQGaef/n6Yw/giB1nUOqJbBOcklUZictFCbKn+ykfnuhiREDFkM6\r\n9ASy5T3a73d5+hX87PaSstNMv7cnIcZLy71gljIl8vOeh2GyVlUVRh23aMdg\r\nJrbN6LX236owjg2Bqe4ns1aOfEeror0/m+0/sHWaDS+hxSRkjdkdB2wXJgY8\r\nm2gjhRmbEVXOp04fWlr7nPgL4QJ+08Q+DnSOUDjN+3qhXD6Q3tK0ROFmu+JO\r\notyBirHygj2jHtgsu8y+bwi0CXYzYwHxWyxQlgbQWo4KkWe9nnGuPFr26S9A\r\nCGWOqZK1ZtN8ZqabU3JJ9Gr0hPUbRfggah44BShOrwisWRJav/lH1PI8j5My\r\nGGXOpsPJrD1k0lvQ2CggVK3gEwtX0frilf1GlKxRGe+kHqsJo1oeFoZVhmJx\r\nNHTx4LI3Vn1HjHCtrx5XP7JGavai6dXCSQ9GOmtdCP0pEmDtdTgoTEC9xmJ1\r\nWB8nvTIhYkZnX6ptE0lMj37V/REAOp0xlyX1zoxRecmDT8GLaK0N+1VfMYNr\r\n7bnX3dG1E8W8H3/reVWe96p2kZlOdA0HFrE=\r\n=30wU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"afb998971ebbe9cba91dd19e4006adf32270eb88","private":false,"scripts":{"lint":"echo \"No linting configured...\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"thgh","email":"info@thomasg.be"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"8.1.2","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.13.2","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.0.0","i18next":"^20.0.0","typescript":"^4.4.2","@types/node":"^16.11.6","@types/react":"^17.0.24"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.1.1_1651756156800_0.12639315753420455","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@bothrs/translations","version":"1.1.2","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.1.2","maintainers":[{"name":"sofian-io","email":"sofianmourabit@gmail.com"},{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"e6905af3420c3cfd08bce7ca40f14b576422716a","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.1.2.tgz","fileCount":18,"integrity":"sha512-kFXhbe+R6pdSVtfMipfGr5f34KFVrVFAZL2gNGVWoXQGe+OSEo3KeFy4jesSEKlds8t2Dg3codZPiAueJErGvQ==","signatures":[{"sig":"MEUCIBwJCotK0v2IEFarTZOMMuu31RkrJTaJK9W/JTsLC7BYAiEAq/sLEnd6YP09q2M0UcKpJfiENLgqSzU/mO247uDjk18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiswR0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlmA//fRV3LKpiodJBYCmzHG15QJG972Tf7Wxs/tbYrHg0cGEvTWaT\r\ns+3ERgUSFToaGWZnYivUutTvtz2bYBl8pi4CZQ/NpWt9lN2/8bnJHyaIvvC/\r\nT/w2/rNFYz/Xz0FFe633qGCCPtcYw7N1Nh/iei//6BVFhjcnksDfrkpgzW79\r\ncaSmJCBWPa/iFAkAzd2nA1ip3Kmu8a8qTKxn+UnTwdBGeo4++27k6yq7clg7\r\najLaP5kXLyR56+PW90Fljb5fmR2vQofVxLkTPpHQH1/MWoBZ/Zqe6aUP6CkS\r\nVQ1yLryMpn4b422a5vS4G0TQYPIbT+TXFuZULrYYGl+rhLKYFVyPcm4VTgC7\r\nvyrGbaMBbo8MszSy6+JvbJAT23r39Y/1k5GH9nRs2R5rJN9uPDYzD7Dc8Nki\r\njIzu//os3AZnM80mHKclwrVm+Vk53jDbZ69rI/BjDN+xGrERrmUY77VruBWj\r\n6KtrOEd33ERzk30dPkvrzL4G/lmVAK5CJ6DwA0JALwoDMJmR8gBE713b4G7Z\r\n38OzMpyhyDLVRsfbF2xLu7ekP19AW30HoWMJTjsTnkQ9dLzk0/G67/uSal8L\r\nKtI8VwmzveqEv7m0ykImywgO5Ds+Mxwyw7wf1eFD2o5kSCJpQa3X1k1eyt/B\r\nLJfCmAUBt0cLXr5z71/WyVXMd8EsQE71oJo=\r\n=jbt0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"82baf3b666ca32014c5b1e36a3b3fa4c04e35fbd","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.15.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"2.5.0","i18next":"^20.0.0","typescript":"~4.6.4","@types/node":"^16.11.6","@types/react":"~17.0.44"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.1.2_1655899252279_0.41162614855621027","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@bothrs/translations","version":"1.1.3","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.1.3","maintainers":[{"name":"fabianmeul","email":"fabian.meul@gmail.com"},{"name":"sofian-io","email":"sofianmourabit@gmail.com"},{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"1c5dd3e9b98ff225cd9f9ef5c95b089638dcdd6a","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.1.3.tgz","fileCount":18,"integrity":"sha512-GQRFdLugeqvUA6EKfNArPgDEidB3jXuwwapwxce+U4UT4dw8H+ivg/KznB5rV3wbmdjQVwQrFp0s/GTQkmb40g==","signatures":[{"sig":"MEQCIFWerkHLFvDC9BLPEbamORloOnzQy1siDJd1vjOvAyXRAiA4nSHycvDLMXZH75vejQQ+hHVk80iC8o2A0QIzOzmh7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfidSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfDg/+Mwx9rJ3Ei9iebbKAqN5YzUzelic787+xDX32XIUnrRdEHPDK\r\n1+2dmJYePVPlKcd1lcMqMy/vPoRRfCgDC9kCVMlfOF1TZIsuoLhy/6EE1TTd\r\nTTxHK+DKT4ZOtybXh3pCIgiVKRm9pYuqXkXIUT3nxuxgkYY3jpjRobOxTYau\r\nVJLOlGgsL4IUprrN4vsY8sl40rGuYdO2vaJbid0FDZ3Czak1dwxgXr05hiBx\r\n9TPZkh51Fnlv/bS6/+iZYXcHf4SYJdm2Qu4oj618j+sgJUMkdav9Ip/k+nQr\r\nDAVD2juNJah07hlDbWb1gUer5rCdoQQLIsXEkfinh+FJxGVEWn9CWYM4ndwB\r\no7h4Wmt++mDb5UNttOk4/Ulb6HCzaNpLD+Asxfk6hvwhVcURYTqpEbY6WWJS\r\nuE8CMg2rEWXjnVK7Ubl+vha0O6AmpTnBK5J9XiuBWTW1bkEe4hY6uE44nJes\r\norOvpHVs+jVtk7fzhEcfk6pIPp0lTMmejBSUXGZy3XROBVAqlOvZglMXPbf1\r\ngjzVGDTDo876ryOE7FcGFZglkjtTUcI8CLo2AtixchJmQGdGKgluV00d5pjE\r\nzB4DdiO6Oyf8FfDxzOfk73vBzjeet9pbGs23RPq9IUH0px8Cue0SWLLZGbUB\r\nV6UdWTEhCmqrYta++SCDXbBmkDOdfKHtIig=\r\n=ZhPf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"3f9aa89a0bea4ac0622562a09181f6a7d82d60b0","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/5.1.8/node@v16.18.0+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.18.0","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"2.5.0","i18next":"^20.0.0","typescript":"~4.6.4","@types/node":"^16.11.6","@types/react":"~17.0.44"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.1.3_1669211986462_0.19977509725226317","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@bothrs/translations","version":"1.1.4","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.1.4","maintainers":[{"name":"fabianmeul","email":"fabian.meul@gmail.com"},{"name":"sofian-io","email":"sofianmourabit@gmail.com"},{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"d3cfd000b38a8f403126667924ce045010b8e959","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.1.4.tgz","fileCount":18,"integrity":"sha512-lPI5LD9kknHxD4Gu+n5pHM9axuGOyXkC1yLeZqjxRxwEcO8srHAfX5g3zMQsU5fHmQoM+uj3g0VootK3eWnFhg==","signatures":[{"sig":"MEUCIDb+6nUmlT7yElzwZw94uXCKgdLNH9Togkt2IYYqhfuUAiEAucireeu5laTza9ugo4ymPAvrSsfguw9Rg64d5sLrjjE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFDxMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpplA/9Hv3MzQMfOTSBHzhKE/eyxlAhvxrgfB26Mj2YxdV24m3XCPcD\r\n+LPF0rNXJ+rubWEdg1uqgvbF7sCRN+LmWAX5/hGXZCAm5U/xCYu/zEBinfPo\r\n0hmeVksDhz5rfFKy7ZU6uJJMsxOylLtGAzd6Xqk5KxLko/at6dvPecCUF040\r\nblIopnYgenKW/oooYHa8Op7MET0RF4HB6vs5FRBjjBpRofKq7d4dRSnQJ8pq\r\naqmtbiO+VtWDxM3j4AkXI0GWQcs4ZS5FDDdnXgYxGnZTvjPolu1Wnq+plqXS\r\nmRoPuDNAltc8tr+xdo4OTR2AJE3BTaB3cyHG6TOWolhPKXS+FUb2P6hNrHJC\r\nGPGy2ODwgkfdX6soe+h31SUvJcUFysQQrGfBQ5j9dgi8b1VTcli0lfv0YtDv\r\nNLaQt3G5anz0Ka1mtoqTxOm7LQyZ0YJONHJORfkwpbQYCsRqz6YIJ2KecdGV\r\nN/L75EYXUIbkgDf3pR7xVfcCt5nl/L4O8vzDvmZL4szLqcN7FKxmNIkC98Cp\r\n1aDN1r32ZnfnmJlhrKdoClEomb5gCdUGX62e8FlR+yNmZiLs5SP+HVd+Nr5K\r\n20s7k8j7woUBjxHp9xmMJF6zdwZIArnMOmJ1wvGgprP8SL3qzDgGzR1iBT7D\r\nh3wgeGDc6XBvMdz+C7PKMBrhE6Jv8F1wSEE=\r\n=0R96\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"4ab40fc01ef06336bd7d460d10edcb44efb95f13","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/5.1.8/node@v16.19.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.19.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"2.5.0","i18next":"^20.0.0","typescript":"~4.6.4","@types/node":"^16.11.6","@types/react":"~17.0.44"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.1.4_1679047756765_0.8182736699935409","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@bothrs/translations","version":"1.2.0","author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","_id":"@bothrs/translations@1.2.0","maintainers":[{"name":"fabianmeul","email":"fabian.meul@gmail.com"},{"name":"sofian-io","email":"sofianmourabit@gmail.com"},{"name":"bothrsdev","email":"dev@bothrs.com"},{"name":"bramvanhoutte","email":"bram.vanhoutte.x@gmail.com"},{"name":"thgh","email":"info@thomasg.be"},{"name":"tijsmartens","email":"tijs.martens.tijs@gmail.com"},{"name":"jaccog","email":"contact@jaccogoris.com"}],"contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"homepage":"https://github.com/bothrs/open-source#readme","bugs":{"url":"https://github.com/bothrs/open-source/issues"},"dist":{"shasum":"4566eff71ee4e5f524db4592a797883c87207095","tarball":"https://registry.npmjs.org/@bothrs/translations/-/translations-1.2.0.tgz","fileCount":18,"integrity":"sha512-ESaCpZWDPBa1vmCed+UJkGnDEO08hezHOsAIkgj7BS+8Y4I6JX+hKkW40xepnuN+6hD0U32BFLlRVpxh5Cukrw==","signatures":[{"sig":"MEQCIEGAdR7NYmTniZV1y/Sy6F49nL9V2HSbe2WjoRviXKhDAiB2wQbOHFoxG/oU2U+h7Pwnb33VPsodOaCJIlUhBi2YWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFEBlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5PA//RzqjDpCt1oCxR8hZWIAFwCi9KAnI3KYbD5wqEQuXjwsrXycm\r\ndGG19RmiC+3Sv3lIcgWi9Zuyo5LkX2ypinA2B/SDSP0F1/FWq5DBrIT860EU\r\nR2yU59uPBzUc44i1mgBfxmHLFm9BRW0HveU9WPBOuv1PZsnb3YSoDcInpKJr\r\n+WHg/TbANQU5MjDzNenNai1kysJh0JeMedKJKo/mBW2mlqfWbNleRoEGFymf\r\nqFqCLwlkny7avKqF9Kkon1HMuRJxM/klTBZP2Nit37uEk/9xq+PMVSJ10RN1\r\nSf+f8rs7mp4URILojCmc0T+1+FtvMSJChksuP9h09WyRJVw/9KlfwdoenMH7\r\nhqzD7IrilmrxKKCRdXZVMMxsIjY8l+k7hJww2VRde/bMjUYoRI4THfTHA9XC\r\nGoxZ9XkUNYDPhkpjVMDZI1QeoOMI8jWpWvJi5vdHlbVZrw6J+QeyGZs+oZaZ\r\ne6fEJNwKWhFTQgqTprt+01arbKejbMzzdajPQHj2UtXGXGi/uzmYPSmyGzCB\r\n2HkRsxTiD4QeEZotrU0WbupxvhRIGfgUhPvVHvTEDz7+ySHCw/8xIJ77IKvg\r\nO+KTkfRGZLERfic1T5mOpbRUCD+UHRdjBG1zIQwdj78rw00ZQwWnG6B6rhTD\r\nf29k3r4IsNOZUYdFygbnDrW9Map8QDfsJ2w=\r\n=Z36I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"esm/index.js","source":"src/index.ts","exports":{".":{"import":"./esm/index.js","default":"./dist/index.js"}},"gitHead":"87bb87a36f79c42e7e0b127d25d813b38360c3ed","private":false,"scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"echo \"No tests configured...\"","build":"yarn build:clean && tsc && tsc -p tsconfig.esm.json","preversion":"yarn build","build:clean":"rimraf dist esm","yalc:update":"yarn build && yalc publish","yalc:publish":"yalc publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"bothrsdev","email":"dev@bothrs.com"},"repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","description":"A hook which loads the translations from an external source and initializes i18next.","directories":{},"_nodeVersion":"16.19.1","dependencies":{"i18next-fetch-backend":"^3.0.0","i18next-chained-backend":"^3.0.0","i18next-localstorage-backend":"^3.1.3","i18next-async-storage-backend2":"^2.0.0","i18next-multiload-backend-adapter":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.3.1","parcel":"^2.8.3","i18next":"^20.0.0","typescript":"~4.6.4","@types/node":"^16.11.6","@types/react":"~17.0.44"},"peerDependencies":{"react":">=16.x","i18next":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/translations_1.2.0_1679048805667_0.06164381530377794","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-10-04T07:10:44.208Z","modified":"2026-03-01T19:02:04.444Z","0.1.0":"2021-10-04T07:10:44.395Z","0.1.1":"2021-10-05T06:26:19.268Z","0.1.2":"2021-10-07T09:52:57.936Z","0.1.3":"2021-10-19T13:07:06.971Z","0.1.4":"2021-11-09T14:55:00.122Z","0.1.5":"2021-11-09T15:04:15.921Z","0.1.6":"2021-11-09T15:19:59.297Z","0.1.7":"2021-11-09T15:23:12.437Z","0.2.0":"2021-11-10T09:56:32.374Z","0.2.1":"2021-11-30T08:53:22.468Z","0.3.0":"2022-01-04T11:18:28.374Z","1.0.0-rc.0":"2022-02-10T14:06:15.805Z","1.0.0-rc.1":"2022-02-10T14:16:08.261Z","1.0.0-rc.2":"2022-02-10T14:19:54.431Z","1.0.0-rc.3":"2022-02-10T14:21:08.324Z","1.0.0-rc.4":"2022-02-10T14:24:19.183Z","1.0.0-rc.5":"2022-03-14T09:31:03.871Z","1.0.1":"2022-03-14T10:56:47.728Z","1.1.0":"2022-04-13T12:45:44.457Z","1.1.1":"2022-05-05T13:09:16.969Z","1.1.2":"2022-06-22T12:00:52.383Z","1.1.3":"2022-11-23T13:59:46.637Z","1.1.4":"2023-03-17T10:09:16.898Z","1.2.0":"2023-03-17T10:26:45.834Z"},"bugs":{"url":"https://github.com/bothrs/open-source/issues"},"author":{"url":"https://bothrs.com","name":"Bothrs","email":"dev@bothrs.com"},"license":"MIT","homepage":"https://github.com/bothrs/open-source#readme","repository":{"url":"git+ssh://git@github.com/bothrs/open-source.git","type":"git"},"description":"A hook which loads the translations from an external source and initializes i18next.","contributors":[{"name":"Tijs Martens","email":"tijs@bothrs.com"},{"name":"Thomas Ghysels","email":"thomas@bothrs.com"}],"maintainers":[{"email":"accounts@nimblestudio.com","name":"bothrsdev"},{"email":"bram.vanhoutte.x@gmail.com","name":"bramvanhoutte"},{"email":"emielvlees@hotmail.com","name":"emieldv"}],"readme":"# Translations\n\nA hook which loads the translations from an external source and initializes i18next.\n\n- [x] Compatible with React Native & Web\n\n## Getting started\n\n```\nyarn add @bothrs/translations\n```\n\n## Usage with Airtable\n\n`useAirtableTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useAirtableTranslations } from '@bothrs/translations'\nimport i18next from 'i18next'\n\nexport function AirtableExample() {\n  const translationsLoaded = useAirtableTranslations({\n    expirationTime: 60 * 1000,\n    loadPath: api + 'translations',\n    // Any other i18next options\n    lng: 'nl',\n    fallbackLng: 'nl',\n  })\n  return <div>{translationsLoaded ? i18next.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n\n### Airtable table structure\n\nThe table should have the folowing columns\n\n| column name        | mandatory | explanation                                                                                 |\n| ------------------ | --------- | ------------------------------------------------------------------------------------------- |\n| key                | true      | the key that will be used in the [i18next t method](https://www.i18next.com/overview/api#t) |\n| en / nl / fr / ... | true      | the iso code of the supported languages                                                     |\n| category           | false     | We recommend to use a category column to group related records in airtable                  |\n\n### Example Airtable base\n\n![Example Airtable base](https://raw.githubusercontent.com/bothrs/open-source/main/packages/translations/assets/recommended-airtable-base.png)\n\n## Generic usage\n\n`useTranslations` returns a boolean which indicates if the translations are loaded. This can be used to [hide the splashscreen](https://docs.expo.dev/versions/latest/sdk/splash-screen/).\n\n```tsx\nimport { useTranslations } from '@bothrs/translations'\nimport i18next from 'i18next'\n\nexport function GenericExample() {\n  const ready = useTranslations({\n    lng: 'nl',\n    fetchOptions: {\n      loadPath: 'https://api.i18next.com/example.json',\n      parse: (text) => JSON.parse(text),\n    },\n  })\n  return <div>{ready ? i18next.t('Ready') : 'Loading'}</div>\n}\n```\n\n| Name           | Explanation                                             |\n| -------------- | ------------------------------------------------------- |\n| expirationTime | Time between translation refreshes in ms                |\n| loadPath       | The endpoint from where the translations will be loaded |\n","readmeFilename":"README.md"}