Skip to content

Commit

Permalink
fix: 🐛 incorrect path in 18n example app-dir (#839)
Browse files Browse the repository at this point in the history
### Description

<!--
✍️ Write a short summary of your work. Screenshots and videos are
welcome!
-->

Fixes #838. 
Incorrect path in i18n example.
Changed to the correct dir.

### Demo URL

<!--
Provide a URL to a live deployment where we can test your PR. If a demo
isn't possible feel free to omit this section.
-->
https://vercel-examples-orpin.vercel.app/en

### Type of Change

- [ ] New Example
- [x] Example updates (Bug fixes, new features, etc.)
- [ ] Other (changes to the codebase, but not to examples)

### New Example Checklist

- [ ] 🛫 `npm run new-example` was used to create the example
- [ ] 📚 The template wasn't used but I carefuly read the [Adding a new
example](https://github.com/vercel/examples#adding-a-new-example) steps
and implemented them in the example
- [ ] 📱 Is it responsive? Are mobile and tablets considered?
  • Loading branch information
flixlix authored Dec 10, 2023
1 parent 97d67b5 commit 3c5d318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-directory/i18n/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>
<Layout path="app-directory/css-in-js">{children}</Layout>
<Layout path="app-directory/i18n">{children}</Layout>
</body>
</html>
)
Expand Down

74 comments on commit 3c5d318

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

geolocation-script – ./edge-middleware/geolocation-script

geolocation-script.vercel.app
geolocation-script-vercel-solutions-vtest314.vercel.app
geolocation-script-git-main-vercel-solutions-vtest314.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

blob-starter – ./storage/blob-starter

blob-starter-git-main.vercel.rocks
blob-starter.vercel.app
blob-starter.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

examples – ./storage/postgres-starter

examples-bice.vercel.app
examples-git-main.vercel.rocks
examples.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

postgres-pgvector – ./storage/postgres-pgvector

postgres-pgvector.vercel.rocks
postgres-pgvector.vercel.app
postgres-pgvector-git-main.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

blob-sveltekit – ./storage/blob-sveltekit

blob-sveltekit.vercel.app
blob-sveltekit.vercel.rocks
blob-sveltekit-git-main.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

postgres-prisma – ./storage/postgres-prisma

postgres-prisma.vercel.app
postgres-prisma.vercel.rocks
postgres-prisma-git-main.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

next-flask – ./python/nextjs-flask

nextjs-python.vercel.app
nextjs-flask-starter.vercel.app
next-flask-git-main.vercel.rocks
next-flask.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

postgres-drizzle – ./storage/postgres-drizzle

postgres-drizzle.vercel.app
postgres-drizzle-git-main.vercel.rocks
postgres-drizzle.vercel.rocks

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-functions-news – ./starter/next-news

edge-functions-news-now-examples.vercel.app
edge-functions-news-git-main-now-examples.vercel.app
edge-functions-next-news.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

solutions-image-offset – ./solutions/image-offset

solutions-image-offset.vercel.app
solutions-image-offset-git-main-now-examples.vercel.app
solutions-image-offset-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-rewrites-upstash – ./edge-middleware/rewrites-upstash

edge-rewrites-upstash.vercel.sh
edge-rewrites-upstash-git-main-now-examples.vercel.app
edge-rewrites-upstash-now-examples.vercel.app
edge-rewrites-upstash.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

solutions-on-demand-isr – ./solutions/on-demand-isr

solutions-on-demand-isr-now-examples.vercel.app
solutions-on-demand-isr-git-main-now-examples.vercel.app
solutions-on-demand-isr.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-user-agent-based-rendering – ./edge-middleware/user-agent-based-rendering

edge-user-agent-based-rendering-git-main-now-examples.vercel.app
edge-user-agent-based-rendering.vercel.app
edge-user-agent-based-rendering-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

solutions-script-component-ad – ./solutions/script-component-ad

solutions-script-component-ad-git-main-now-examples.vercel.app
solutions-script-component-ad.vercel.app
solutions-script-component-ad-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

solutions-loading-web-fonts – ./solutions/loading-web-fonts

solutions-loading-web-fonts.vercel.app
solutions-loading-web-fonts-now-examples.vercel.app
solutions-loading-web-fonts-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-maintenance-page – ./edge-middleware/maintenance-page

edge-maintenance-page-now-examples.vercel.app
edge-maintenance-page.vercel.app
edge-maintenance-page-git-main-now-examples.vercel.app
edge-maintenance-page.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

feature-flag-optimizely – ./edge-middleware/feature-flag-optimizely

feature-flag-optimizely-now-examples.vercel.app
feature-flag-optimizely.vercel.app
feature-flag-optimizely-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

solutions-microfrontends – ./solutions/microfrontends/apps/main

solutions-microfrontends.vercel.app
solutions-microfrontends-git-main-now-examples.vercel.app
solutions-microfrontends-now-examples.vercel.app
microfrontends.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-ab-testing-statsig – ./edge-middleware/ab-testing-statsig

edge-ab-testing-statsig.vercel.app
edge-ab-testing-statsig-git-main-now-examples.vercel.app
edge-ab-testing-statsig-now-examples.vercel.app
edge-ab-testing-statsig.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

i18n – ./edge-middleware/i18n

middleware-i18n.vercel.app
i18n-now-examples.vercel.app
i18n-git-main-now-examples.vercel.app
i18n.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

app-dir-share-state – ./app-directory/share-state

app-dir-share-state-now-examples.vercel.app
app-dir-share-state-git-main-now-examples.vercel.app
app-dir-share-state.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

app-dir-css-in-js – ./app-directory/css-in-js

app-dir-css-in-js.vercel.app
app-dir-css-in-js-now-examples.vercel.app
app-dir-css-in-js-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-middleware-modify-request-header – ./edge-middleware/modify-request-header

edge-middleware-modify-request-header-now-examples.vercel.app
edge-middleware-modify-request-header.vercel.app
edge-middleware-modify-request-header-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

edge-geolocation-country-block – ./edge-middleware/geolocation-country-block

edge-geolocation-country-block.vercel.app
edge-geolocation-country-block-git-main-now-examples.vercel.app
edge-geolocation-country-block-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

feature-flag-launchdarkly – ./edge-middleware/feature-flag-launchdarkly

feature-flag-launchdarkly-now-examples.vercel.app
feature-flag-launchdarkly.vercel.app
feature-flag-launchdarkly-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

app-dir-i18n – ./app-directory/i18n

app-dir-i18n-now-examples.vercel.app
app-dir-i18n.vercel.app
app-dir-i18n-git-main-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

nodejs-api – ./solutions/node-hello-world

nodejs-api-git-main-now-examples.vercel.app
nodejs-api-example.vercel.app
nodejs-api-murex.vercel.app
nodejs-api-now-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3c5d318 Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

feature-flag-hypertune – ./edge-middleware/feature-flag-hypertune

feature-flag-hypertune-now-examples.vercel.app
feature-flag-hypertune.vercel.app
feature-flag-hypertune-git-main-now-examples.vercel.app

Please sign in to comment.