https://github.com/madrilene/eleventy-i18n
Minimal starter for localized content, using Eleventy's own Internationalization (I18n) plugin
https://github.com/madrilene/eleventy-i18n
11ty eleventy eleventy-starter eleventy-template i18n internationalization multilingual
Last synced: 11 days ago
JSON representation
Minimal starter for localized content, using Eleventy's own Internationalization (I18n) plugin
- Host: GitHub
- URL: https://github.com/madrilene/eleventy-i18n
- Owner: madrilene
- Created: 2023-01-02T13:14:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T08:07:26.000Z (7 months ago)
- Last Synced: 2024-10-31T11:51:34.131Z (6 months ago)
- Topics: 11ty, eleventy, eleventy-starter, eleventy-template, i18n, internationalization, multilingual
- Language: Nunjucks
- Homepage: https://eleventy-i18n.netlify.app
- Size: 568 KB
- Stars: 26
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eleventy-i18n
Minimal starter for localized content, using Eleventy's own Internationalization (I18n) plugin.
In an article on my personal website, I describe the structure of the starter and the decisions behind it: https://www.lenesaile.com/en/blog/internationalization-with-eleventy-20-and-netlify/
## Preview
https://eleventy-i18n.netlify.app
## Development
### Install dependencies
```
npm install
```### Working locally
Starts development server by default on `http://localhost:8080`. Watches tasks to compile when changes detected.
Remember to manually change to a local folder: `http://localhost:8080/en/`. Redirects are only working on the server.```
npm start
```### Creating a production build
```
npm run build
```