Skip to content

Commit 233fb80

Browse files
committed
1 parent 87aaf94 commit 233fb80

File tree

4 files changed

+2620
-13
lines changed

4 files changed

+2620
-13
lines changed

.gitignore

+52-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
1-
.DS_Store
2-
.vscode
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
34
node_modules
4-
crowdin.yml
5+
.pnp
6+
.pnp.js
7+
.yarn
8+
9+
# testing
10+
coverage
11+
12+
# parcel-bundler cache (https://parceljs.org/)
13+
.cache
14+
15+
# next.js
16+
.next/
17+
out/
18+
build
19+
20+
# misc
21+
.DS_Store
22+
*.pem
23+
tmp
24+
25+
# debug
26+
npm-debug.log*
27+
yarn-debug.log*
28+
yarn-error.log*
29+
.pnpm-debug.log*
30+
31+
# local env files
32+
.env.local
33+
.env.development.local
34+
.env.test.local
35+
.env.production.local
36+
37+
# turbo
38+
.turbo
39+
40+
# build
41+
dist
42+
43+
# i18n
44+
crowdin.yml
45+
46+
# angular
47+
.angular
48+
49+
# env
50+
.env
51+
52+
# langnostic
53+
.langnostic

langnostic.config.ts

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import { ConfigType } from 'langnostic';
2+
3+
const config: ConfigType = {
4+
ai: {
5+
provider: 'google',
6+
},
7+
localeConfig: {
8+
source: 'en-US',
9+
target: ['zh-CN'],
10+
},
11+
groups: [
12+
{
13+
name: 'quiz',
14+
plugin: 'mdx',
15+
paths: [
16+
{
17+
source: './packages/quiz/**/en-US.mdx',
18+
target: './packages/quiz/**/{locale}.mdx',
19+
},
20+
],
21+
},
22+
{
23+
name: 'guidebooks',
24+
plugin: 'mdx',
25+
paths: [
26+
{
27+
source: './packages/behavioral-interview-guidebook/**/en-US.mdx',
28+
target: './packages/behavioral-interview-guidebook/**/{locale}.mdx',
29+
},
30+
{
31+
source: './packages/front-end-interview-guidebook/**/en-US.mdx',
32+
target: './packages/front-end-interview-guidebook/**/{locale}.mdx',
33+
},
34+
{
35+
source: './packages/react-interview-playbook/**/en-US.mdx',
36+
target: './packages/react-interview-playbook/**/{locale}.mdx',
37+
},
38+
{
39+
source: './packages/system-design/**/en-US.mdx',
40+
target: './packages/system-design/**/{locale}.mdx',
41+
},
42+
],
43+
},
44+
],
45+
};
46+
47+
export default config;

0 commit comments

Comments
 (0)