Skip to content

build: apply language based on folder. #1975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ help: ## This help

serve: ## Local server
@echo "${BLUE}Starting expressjs.com at http://localhost:4000${RESET}"
docker run -p 4000:4000 -p 35729:35729 -v $(DIR):/usr/src/app expressjs.com bundle exec jekyll serve --host 0.0.0.0 --incremental
docker run -p 4000:4000 -p 35729:35729 -v $(DIR):/usr/src/app expressjs.com bundle exec jekyll serve --host 0.0.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bug where dynamic texts are not loading correctly, so I'm going to remove this, since that fixes it.


build: ## Build site
@echo "${BLUE}Building site...${RESET}"
Expand Down
55 changes: 55 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,61 @@ defaults:
layout: "post"
menu: blog
lang: en
-
scope:
path: "en"
values:
lang: en
-
scope:
path: "index.md"
values:
lang: en
-
scope:
path: "de"
values:
lang: de
-
scope:
path: "es"
values:
lang: es
-
scope:
path: "fr"
values:
lang: fr
-
scope:
path: "it"
values:
lang: it
-
scope:
path: "ja"
values:
lang: ja
-
scope:
path: "ko"
values:
lang: ko
-
scope:
path: "pt-br"
values:
lang: "pt-br"
-
scope:
path: "zh-cn"
values:
lang: "zh-cn"
-
scope:
path: "zh-tw"
values:
lang: "zh-tw"

announcement: true # Enable or disable the announcements.

Expand Down
1 change: 0 additions & 1 deletion de/3x/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: api
version: 3x
title: Express 3.x - API-Referenz
description: Access the API reference for Express.js version 3.x, noting that this version is end-of-life and no longer maintained - includes details on modules and methods.
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/4x/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: api
version: 4x
title: Express 4.x - API-Referenz
description: Access the API reference for Express.js 4.x, detailing all modules, methods, and properties for building web applications with this version.
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/5x/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: api
version: 5x
title: Express 5.x - API-Referenz
description: Access the API reference for Express.js 5.x, detailing all modules, methods, and properties for building web applications with this latest version.
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/advanced/best-practice-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Leistungsspezifische Best Practices für Express-Anwendungen in Produktionsumgebungen
description: Discover performance and reliability best practices for Express apps in production, covering code optimizations and environment setups for optimal performance.
menu: advanced
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/advanced/best-practice-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Sicherheitsspezifische Best Practices für Express-Anwendungen in Produktionsumgebungen
description: Discover crucial security best practices for Express apps in production, including using TLS, input validation, secure cookies, and preventing vulnerabilities.
menu: advanced
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/advanced/developing-template-engines.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Template-Engines für Express entwickeln
description: Learn how to develop custom template engines for Express.js using app.engine(), with examples on creating and integrating your own template rendering logic.
menu: advanced
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/advanced/healthcheck-graceful-shutdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Health Checks and Graceful Shutdown
description: Learn how to implement health checks and graceful shutdown in Express apps to enhance reliability, manage deployments, and integrate with load balancers like Kubernetes.
menu: advanced
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/advanced/security-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Express-Sicherheitsupdates
description: Review the latest security updates and patches for Express.js, including detailed vulnerability lists for different versions to help maintain a secure application.
menu: advanced
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: api
version: 5x
title: Express 5.x - API-Referenz
description: Access the API reference for Express.js detailing all modules, methods, and properties for building web applications with this version.
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/changelog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: page
title: Express changelog
description: Stay updated with the release changelog for Express.js, detailing new features, bug fixes, and important changes across versions.
lang: de
sitemap: false
redirect_from:
- " "
Expand Down
1 change: 0 additions & 1 deletion de/guide/behind-proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Express hinter Proxys
description: Learn how to configure Express.js applications to work correctly behind reverse proxies, including using the trust proxy setting to handle client IP addresses.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/database-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Datenbankintegration in Express
description: Discover how to integrate various databases with Express.js applications, including setup examples for MongoDB, MySQL, PostgreSQL, and more.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Debugging bei Express
description: Learn how to enable and use debugging logs in Express.js applications by setting the DEBUG environment variable for enhanced troubleshooting.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Fehlerbehandlung in Express
description: Understand how Express.js handles errors in synchronous and asynchronous code, and learn to implement custom error handling middleware for your applications.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/migrating-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Migration auf Express 4
description: A guide to migrating your Express.js applications from version 3 to 4, covering changes in middleware, routing, and how to update your codebase effectively.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/migrating-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Migration auf Express 5
description: A comprehensive guide to migrating your Express.js applications from version 4 to 5, detailing breaking changes, deprecated methods, and new improvements.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/overriding-express-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Overriding the Express API
description: Discover how to customize and extend the Express.js API by overriding methods and properties on the request and response objects using prototypes.
menu: guide
lang: de
---

# Overriding the Express API
Expand Down
1 change: 0 additions & 1 deletion de/guide/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Weiterleitung in Express
description: Learn how to define and use routes in Express.js applications, including route methods, route paths, parameters, and using Router for modular routing.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/using-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Express-Middleware verwenden
description: Learn how to use middleware in Express.js applications, including application-level and router-level middleware, error handling, and integrating third-party middleware.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/using-template-engines.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Template-Engines in Express verwenden
description: Discover how to integrate and use template engines like Pug, Handlebars, and EJS with Express.js to render dynamic HTML pages efficiently.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/guide/writing-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Middleware für die Verwendung in Express-Anwendungen schreiben
description: Learn how to write custom middleware functions for Express.js applications, including examples and best practices for enhancing request and response handling.
menu: guide
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: home
title: Express - Node.js Web Application Framework
description: "Express is a fast, unopinionated, minimalist web framework for Node.js, providing a robust set of features for web and mobile applications."
menu: home
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/resources/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Express-Community
description: Connect with the Express.js community, learn about the technical committee, find resources, explore community-contributed modules, and get involved in discussions.
menu: resources
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/resources/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Contributing to Express
description: Find out how to contribute to Express.js, including guidelines for reporting issues, submitting pull requests, becoming a collaborator, and understanding security policies.
menu: resources
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/resources/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Express-Glossar
description: A comprehensive glossary of terms related to Express.js, Node.js, middleware, routing, and other key concepts to help you understand and use Express effectively.
menu: resources
lang: de
redirect_from: " "
---

Expand Down
1 change: 0 additions & 1 deletion de/resources/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: middleware
title: Express-Middleware
description: Explore a list of Express.js middleware modules maintained by the Express team and the community, including built-in middleware and popular third-party modules.
menu: resources
lang: de
redirect_from: " "
module: mw-home
---
Expand Down
1 change: 0 additions & 1 deletion de/resources/middleware/body-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express body-parser middleware
menu: resources
lang: de
redirect_from: ' '
module: body-parser
---
1 change: 0 additions & 1 deletion de/resources/middleware/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express compression middleware
menu: resources
lang: de
redirect_from: ' '
module: compression
---
1 change: 0 additions & 1 deletion de/resources/middleware/connect-rid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express connect-rid middleware
menu: resources
lang: de
redirect_from: ' '
module: connect-rid
---
1 change: 0 additions & 1 deletion de/resources/middleware/cookie-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express cookie-parser middleware
menu: resources
lang: de
redirect_from: ' '
module: cookie-parser
---
1 change: 0 additions & 1 deletion de/resources/middleware/cookie-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express cookie-session middleware
menu: resources
lang: de
redirect_from: ' '
module: cookie-session
---
1 change: 0 additions & 1 deletion de/resources/middleware/cors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express cors middleware
menu: resources
lang: de
redirect_from: ' '
module: cors
---
1 change: 0 additions & 1 deletion de/resources/middleware/errorhandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express errorhandler middleware
menu: resources
lang: de
redirect_from: ' '
module: errorhandler
---
1 change: 0 additions & 1 deletion de/resources/middleware/method-override.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express method-override middleware
menu: resources
lang: de
redirect_from: ' '
module: method-override
---
1 change: 0 additions & 1 deletion de/resources/middleware/morgan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express morgan middleware
menu: resources
lang: de
redirect_from: ' '
module: morgan
---
1 change: 0 additions & 1 deletion de/resources/middleware/multer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express multer middleware
menu: resources
lang: de
redirect_from: ' '
module: multer
---
1 change: 0 additions & 1 deletion de/resources/middleware/response-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express response-time middleware
menu: resources
lang: de
redirect_from: ' '
module: response-time
---
1 change: 0 additions & 1 deletion de/resources/middleware/serve-favicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express serve-favicon middleware
menu: resources
lang: de
redirect_from: ' '
module: serve-favicon
---
1 change: 0 additions & 1 deletion de/resources/middleware/serve-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express serve-index middleware
menu: resources
lang: de
redirect_from: ' '
module: serve-index
---
1 change: 0 additions & 1 deletion de/resources/middleware/serve-static.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express serve-static middleware
menu: resources
lang: de
redirect_from: ' '
module: serve-static
---
1 change: 0 additions & 1 deletion de/resources/middleware/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: middleware
title: Express session middleware
menu: resources
lang: de
redirect_from: ' '
module: session
---
Loading
Loading