diff --git a/apps/web/languine.config.ts b/apps/web/languine.config.ts index 0652016e..7f081eb9 100644 --- a/apps/web/languine.config.ts +++ b/apps/web/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "1.0.2", locale: { source: "en", targets: ["es", "fr", "de", "ja", "zh", "ar", "ko", "sv", "no", "fi", "pt"], @@ -11,9 +10,4 @@ export default defineConfig({ include: ["src/locales/[locale].ts"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, - extract: ["./src/**/*.{ts,tsx}"], }); diff --git a/examples/email/languine.config.ts b/examples/email/languine.config.ts index c127af1b..863dbdd5 100644 --- a/examples/email/languine.config.ts +++ b/examples/email/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.7.0", locale: { source: "en", targets: ["es", "sv", "pt"], @@ -11,9 +10,5 @@ export default defineConfig({ include: ["locales/[locale].json"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, extract: ["./emails/**/*.tsx"], }); diff --git a/examples/expo/languine.config.ts b/examples/expo/languine.config.ts index d9873c2a..edc73fc3 100644 --- a/examples/expo/languine.config.ts +++ b/examples/expo/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.7.0", locale: { source: "en", targets: ["es"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["locales/native/[locale].json", "locales/[locale].json"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/fumadocs/languine.config.ts b/examples/fumadocs/languine.config.ts index 84d44d8b..34af48d0 100644 --- a/examples/fumadocs/languine.config.ts +++ b/examples/fumadocs/languine.config.ts @@ -1,7 +1,7 @@ -import { defineConfig } from "languine"; import { writeFile } from "node:fs/promises"; import path from "node:path"; import { defaultTranslations } from "fumadocs-ui/i18n"; +import { defineConfig } from "languine"; import { i18n } from "./lib/i18n"; // translate Fumadocs' UI content @@ -11,12 +11,6 @@ await writeFile( ); export default defineConfig({ - llm: { - provider: "openai", - model: "gpt-4-turbo", - temperature: 0, - }, - version: "1.0.0", locale: { source: i18n.defaultLanguage, targets: i18n.languages.filter((v) => v !== i18n.defaultLanguage), diff --git a/examples/i18next/languine.config.ts b/examples/i18next/languine.config.ts index dd63660b..e0f9a76b 100644 --- a/examples/i18next/languine.config.ts +++ b/examples/i18next/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.6", locale: { source: "en", targets: ["sv"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["locales/[locale].json"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/lingui/languine.config.ts b/examples/lingui/languine.config.ts index cf732f19..0b5d45d4 100644 --- a/examples/lingui/languine.config.ts +++ b/examples/lingui/languine.config.ts @@ -6,7 +6,6 @@ const biome = await Biome.create({ }); export default defineConfig({ - version: "1.0.0", locale: { source: "en", targets: ["de"], @@ -16,10 +15,6 @@ export default defineConfig({ include: ["locales/[locale].json"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, hooks: { // Optional: Format the content with Biome afterTranslate: async ({ content, filePath }) => { diff --git a/examples/next-international/languine.config.ts b/examples/next-international/languine.config.ts index f039450b..5988fc50 100644 --- a/examples/next-international/languine.config.ts +++ b/examples/next-international/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.5.6", locale: { source: "en", targets: ["fr"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["locales/[locale].ts"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/next-intl/languine.config.ts b/examples/next-intl/languine.config.ts index 69c6af76..50b6a08f 100644 --- a/examples/next-intl/languine.config.ts +++ b/examples/next-intl/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "1.0.0", locale: { source: "en", targets: ["de"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["messages/[locale].json"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/po/languine.config.ts b/examples/po/languine.config.ts index b84dea9c..8027ca07 100644 --- a/examples/po/languine.config.ts +++ b/examples/po/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.2", locale: { source: "en", targets: ["es"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["locales/[locale].po"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/xcode-strings/languine.config.ts b/examples/xcode-strings/languine.config.ts index f1b155c7..52a2584c 100644 --- a/examples/xcode-strings/languine.config.ts +++ b/examples/xcode-strings/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.2", locale: { source: "en", targets: ["es"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["Example/[locale].lproj/Localizable.strings"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/xcode-stringsdict/languine.config.ts b/examples/xcode-stringsdict/languine.config.ts index f55c1a34..a88a0e8b 100644 --- a/examples/xcode-stringsdict/languine.config.ts +++ b/examples/xcode-stringsdict/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.2", locale: { source: "en", targets: ["es"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["Example/[locale].lproj/Localizable.stringsdict"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/xcode-xcstrings/languine.config.ts b/examples/xcode-xcstrings/languine.config.ts index 13b3378e..7cd714b0 100644 --- a/examples/xcode-xcstrings/languine.config.ts +++ b/examples/xcode-xcstrings/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.2", locale: { source: "en", targets: ["de", "fr"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["Example/Localizable.xcstrings"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, }); diff --git a/examples/yaml/languine.config.ts b/examples/yaml/languine.config.ts index dab5265c..49688386 100644 --- a/examples/yaml/languine.config.ts +++ b/examples/yaml/languine.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from "languine"; export default defineConfig({ - version: "0.6.2", locale: { source: "en", targets: ["es"], @@ -11,8 +10,4 @@ export default defineConfig({ include: ["locales/[locale].yml"], }, }, - llm: { - provider: "openai", - model: "gpt-4-turbo", - }, });