@episclera/next-i18next-config

A shareable next-1i18next config.

Usage no npm install needed!

<script type="module">
  import episcleraNextI18nextConfig from 'https://cdn.skypack.dev/@episclera/next-i18next-config';
</script>

README

@episclera/next-i18next-config

A shareable next-i18next config. Part of multipack monorepo

Site | Getting Started | API | Blog

GitHub Multipack

Usage

Install: npm i -D @episclera/next-i18next-config

And in your next-i18next.config.js file just put this content.

const nextI18NextConfig = require('@episclera/next-i18next-config')
module.exports = nextI18NextConfig

// OR you can mix multiple configs with "mergeConfigs" util from @episclera/multipack-utils
const nextI18NextConfig = require('@episclera/next-i18next-config')
const { mergeConfigs } = require('@episclera/multipack-utils')

module.exports = mergeConfigs(nextI18NextConfig, {
  i18n: { defaultLocale: 'ar' },
})

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or you can sponsor via Open Collective

Open Collective

Author

@episclera/multipack © Episclera, Released under the MIT License.
Authored and maintained by Episclera with help from contributors (list).

If you like this repository star⭐ and watch👀 on GitHub.