Skip to content

Commit

Permalink
feat: I understand the translations now
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyNico43 committed Jul 6, 2024
1 parent 02f2e6a commit 99bb419
Show file tree
Hide file tree
Showing 11 changed files with 390 additions and 395 deletions.
12 changes: 12 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
REMOTE_URL=http://localhost:4000/

#App
BASE_URL=http://localhost:3000/

# Cloudflare origin ca
CLOUDFLARE_ORIGIN_CA_KEY="-----BEGIN PRIVATE KEY-----
content
-----END PRIVATE KEY-----"
CLOUDFLARE_ORIGIN_CERTIFICATE="-----BEGIN CERTIFICATE-----
content
-----END CERTIFICATE-----"
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.14.0
v22.4.0
3 changes: 0 additions & 3 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ REMOTE_URL=http://localhost:4000/
#App
BASE_URL=http://localhost:3000/

#Node
NODE_AUTH_TOKEN=token

# Cloudflare origin ca
CLOUDFLARE_ORIGIN_CA_KEY="-----BEGIN PRIVATE KEY-----
content
Expand Down
5 changes: 3 additions & 2 deletions i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Config } from 'next-i18n-router/dist/types';

const i18nConfig: Config = {
locales: ['en', 'de', 'placeholder'],
defaultLocale: 'placeholder',
locales: ['en', 'de'],
defaultLocale: 'en',
prefixDefault: true,
};

export default i18nConfig;
Loading

0 comments on commit 99bb419

Please sign in to comment.