Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ context/
# Python bytecode
__pycache__/
*.pyc

# General Translation generated translation files
public/_gt/
9 changes: 9 additions & 0 deletions gt.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"defaultLocale": "en",
"locales": ["es", "fr", "de", "ja", "zh"],
"files": {
"gt": {
"output": "public/_gt/[locale].json"
}
}
}
3 changes: 2 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { NextConfig } from "next";
import { withGTConfig } from "gt-next/config";

const nextConfig: NextConfig = {
outputFileTracingExcludes: {
Expand Down Expand Up @@ -54,4 +55,4 @@ const nextConfig: NextConfig = {
},
};

export default nextConfig;
export default withGTConfig(nextConfig);
Loading
Loading