Giter VIP home page Giter VIP logo

next-intl's Introduction

Logo

Next INTL

About

Screenshot

Site made to showcase the creation of a bilingual website using Next.js. The tutorial is in an article on my blog. Feel free to view the source code, fork it, or even use it in your projects.


Packages used

This project was developed using the packages below:

  • gray-matter
  • remark
  • remark-html

These are for parsing markdown as HTML.


How to contribute

  • Fork this repo
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your modifications: git commit -m 'feat: My new feature';
  • Push it to your branch: git push origin my-feature.

next-intl's People

Contributors

dependabot[bot] avatar elvessousa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

next-intl's Issues

Server Error for Articels and About Page

If I go to this two pages I receive the following error.

TypeError: Cannot read properties of undefined (reading 'replace')

in file: src\lib\files.ts (31:38) @ eval
const id = fileName.split('/')[1].replace(/\.md$/, "");

How can I solve this problem

lang state do not persist after page reload (and other...)

Hi Elves,

Nice solution with this project. U help me very a lot.

Sorry for my poor knowledge but i would like know how make persist the lang state after page reload.
Another question a bit more complex, would be how create content from a cms-headless like a Strapi.

(I've comment on your article - part 2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.