@intlayer/docs 8.3.0-canary.0 → 8.3.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/ar/configuration.md +22 -11
- package/docs/ar/intlayer_with_tanstack.md +22 -1
- package/docs/de/configuration.md +14 -11
- package/docs/de/intlayer_with_tanstack.md +22 -1
- package/docs/en/configuration.md +11 -8
- package/docs/en/intlayer_with_tanstack.md +23 -2
- package/docs/en-GB/configuration.md +11 -8
- package/docs/en-GB/intlayer_with_tanstack.md +22 -1
- package/docs/es/configuration.md +15 -12
- package/docs/es/intlayer_with_tanstack.md +22 -1
- package/docs/fr/configuration.md +14 -11
- package/docs/fr/intlayer_with_tanstack.md +22 -1
- package/docs/hi/configuration.md +22 -11
- package/docs/hi/intlayer_with_tanstack.md +22 -1
- package/docs/id/configuration.md +22 -11
- package/docs/id/intlayer_with_tanstack.md +22 -1
- package/docs/it/configuration.md +14 -11
- package/docs/it/intlayer_with_tanstack.md +22 -1
- package/docs/ja/configuration.md +22 -11
- package/docs/ja/intlayer_with_tanstack.md +22 -1
- package/docs/ko/configuration.md +22 -11
- package/docs/ko/intlayer_with_tanstack.md +22 -1
- package/docs/pl/configuration.md +25 -19
- package/docs/pl/intlayer_with_tanstack.md +22 -1
- package/docs/pt/configuration.md +14 -11
- package/docs/pt/intlayer_with_tanstack.md +22 -1
- package/docs/ru/configuration.md +14 -11
- package/docs/ru/intlayer_with_tanstack.md +22 -1
- package/docs/tr/configuration.md +25 -26
- package/docs/tr/intlayer_with_tanstack.md +22 -1
- package/docs/uk/configuration.md +25 -19
- package/docs/uk/intlayer_with_tanstack.md +22 -1
- package/docs/vi/configuration.md +51 -11
- package/docs/vi/intlayer_with_tanstack.md +22 -1
- package/docs/zh/configuration.md +25 -26
- package/docs/zh/intlayer_with_tanstack.md +22 -1
- package/package.json +8 -8
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/id/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: Konfigurasi
|
|
5
5
|
description: Pelajari cara mengonfigurasi Intlayer untuk aplikasi Anda. Pahami berbagai pengaturan dan opsi yang tersedia untuk menyesuaikan Intlayer sesuai kebutuhan Anda.
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: Pindahkan 'baseDir' dari konfigurasi 'content' ke 'system'
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-09
|
|
19
|
-
changes:
|
|
22
|
+
changes: Perbarui opsi kompiler, tambahkan dukungan 'output' dan 'noMetadata'
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: Perbarui opsi kompiler
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Tambahkan dukungan untuk penyedia Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face, dan Together.ai
|
|
26
29
|
- version: 8.0.5
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: Tambahkan `dataSerialization` ke konfigurasi AI
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: Pindahkan konfigurasi build importMode ke konfigurasi kamus.
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: Pisahkan konfigurasi sistem dari konfigurasi konten. Pindahkan jalur internal ke properti `system`. Tambahkan `codeDir` untuk memisahkan file konten dari transformasi kode.
|
|
@@ -859,13 +862,6 @@ Pengaturan terkait penanganan konten dalam aplikasi, termasuk nama direktori, ek
|
|
|
859
862
|
- _Contoh_: `['.data.ts', '.data.js', '.data.json']`
|
|
860
863
|
- _Catatan_: Menyesuaikan ekstensi file dapat membantu menghindari konflik.
|
|
861
864
|
|
|
862
|
-
- **baseDir**:
|
|
863
|
-
- _Tipe_: `string`
|
|
864
|
-
- _Default_: `process.cwd()`
|
|
865
|
-
- _Deskripsi_: Direktori dasar untuk proyek.
|
|
866
|
-
- _Contoh_: `'/path/to/project'`
|
|
867
|
-
- _Catatan_: Ini digunakan untuk menyelesaikan semua direktori terkait Intlayer.
|
|
868
|
-
|
|
869
865
|
- **contentDir**:
|
|
870
866
|
- _Tipe_: `string[]`
|
|
871
867
|
- _Default_: `['.']`
|
|
@@ -922,6 +918,21 @@ Pengaturan terkait penanganan konten dalam aplikasi, termasuk nama direktori, ek
|
|
|
922
918
|
- _Deskripsi_: Direktori yang dikecualikan dari pencarian konten.
|
|
923
919
|
- _Catatan_: Pengaturan ini belum digunakan, tetapi direncanakan untuk implementasi di masa depan.
|
|
924
920
|
|
|
921
|
+
---
|
|
922
|
+
|
|
923
|
+
### Konfigurasi Sistem
|
|
924
|
+
|
|
925
|
+
Pengaturan terkait jalur internal dan hasil output Intlayer. Pengaturan ini biasanya bersifat internal dan tidak perlu diubah oleh pengguna.
|
|
926
|
+
|
|
927
|
+
#### Properti
|
|
928
|
+
|
|
929
|
+
- **baseDir**:
|
|
930
|
+
- _Tipe_: `string`
|
|
931
|
+
- _Default_: `process.cwd()`
|
|
932
|
+
- _Deskripsi_: Direktori dasar untuk proyek.
|
|
933
|
+
- _Contoh_: `'/path/to/project'`
|
|
934
|
+
- _Catatan_: Ini digunakan untuk menyelesaikan semua direktori terkait Intlayer.
|
|
935
|
+
|
|
925
936
|
- **formatCommand**:
|
|
926
937
|
- _Tipe_: `string`
|
|
927
938
|
- _Default_: `undefined`
|
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/it/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: Configurazione
|
|
5
5
|
description: Scopri come configurare Intlayer per la tua applicazione. Comprendi le varie impostazioni e opzioni disponibili per personalizzare Intlayer secondo le tue esigenze.
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: Sposta 'baseDir' dalla configurazione 'content' alla configurazione 'system'
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-10
|
|
19
|
-
changes:
|
|
22
|
+
changes: Aggiorna le opzioni del compilatore, aggiungi il supporto per 'output' e 'noMetadata'
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: Aggiorna le opzioni del compilatore
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Aggiungi il supporto per i fornitori Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face e Together.ai
|
|
26
29
|
- version: 8.0.5
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: Aggiungi `dataSerialization` alla configurazione AI
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: Sposta la configurazione di build importMode nella configurazione del dizionario.
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: Separare la configurazione del sistema dalla configurazione del contenuto. Spostare i percorsi interni alla proprietà `system`. Aggiungere `codeDir` per separare i file di contenuto dalla trasformazione del codice.
|
|
@@ -735,13 +738,6 @@ Impostazioni relative alla gestione del contenuto all'interno dell'applicazione,
|
|
|
735
738
|
- _Esempio_: `['.data.ts', '.data.js', '.data.json']`
|
|
736
739
|
- _Nota_: Personalizzare le estensioni dei file può aiutare a evitare conflitti.
|
|
737
740
|
|
|
738
|
-
- **baseDir**:
|
|
739
|
-
- _Tipo_: `string`
|
|
740
|
-
- _Predefinito_: `process.cwd()`
|
|
741
|
-
- _Descrizione_: La directory base per il progetto.
|
|
742
|
-
- _Esempio_: `'/path/to/project'`
|
|
743
|
-
- _Nota_: Viene utilizzata per risolvere tutte le directory relative a Intlayer.
|
|
744
|
-
|
|
745
741
|
- **contentDir**:
|
|
746
742
|
- _Tipo_: `string[]`
|
|
747
743
|
- _Predefinito_: `['.']`
|
|
@@ -780,6 +776,13 @@ Impostazioni relative ai percorsi interni e ai risultati di output di Intlayer.
|
|
|
780
776
|
|
|
781
777
|
#### Proprietà
|
|
782
778
|
|
|
779
|
+
- **baseDir**:
|
|
780
|
+
- _Tipo_: `string`
|
|
781
|
+
- _Predefinito_: `process.cwd()`
|
|
782
|
+
- _Descrizione_: La directory base per il progetto.
|
|
783
|
+
- _Esempio_: `'/path/to/project'`
|
|
784
|
+
- _Nota_: Viene utilizzata per risolvere tutte le directory relative a Intlayer.
|
|
785
|
+
|
|
783
786
|
- **dictionariesDir**:
|
|
784
787
|
- _Tipo_: `string`
|
|
785
788
|
- _Predefinito_: `'.intlayer/dictionary'`
|
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/ja/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: 設定
|
|
5
5
|
description: Intlayerをアプリケーション向けに設定する方法を学びます。Intlayerをニーズに合わせてカスタマイズするためのさまざまな設定やオプションについて理解しましょう。
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: 'baseDir' を 'content' 設定から 'system' 設定に移動
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-10
|
|
19
|
-
changes:
|
|
22
|
+
changes: コンパイラーオプションの更新、'output' および 'noMetadata' のサポートを追加
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: コンパイラーオプションの更新
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face, Together.ai プロバイダーのサポートを追加
|
|
26
29
|
- version: 8.0.5
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: AI設定に `dataSerialization` を追加
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: importMode のビルド設定を辞書設定に移動。
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: システム設定をコンテンツ設定から分離。内部パスを `system` プロパティに移動。コンテンツファイルとコード変換を分離するために `codeDir` を追加。
|
|
@@ -738,13 +741,6 @@ export default config;
|
|
|
738
741
|
- _例_: `['.data.ts', '.data.js', '.data.json']`
|
|
739
742
|
- _注意_: ファイル拡張子をカスタマイズすることで競合を回避できます。
|
|
740
743
|
|
|
741
|
-
- **baseDir**:
|
|
742
|
-
- _タイプ_: `string`
|
|
743
|
-
- _デフォルト_: `process.cwd()`
|
|
744
|
-
- _説明_: プロジェクトのベースディレクトリ。
|
|
745
|
-
- _例_: `'/path/to/project'`
|
|
746
|
-
- _注意_: これはすべてのIntlayer関連ディレクトリを解決するために使用されます。
|
|
747
|
-
|
|
748
744
|
- **dictionaryOutput**:
|
|
749
745
|
- _タイプ_: `string[]`
|
|
750
746
|
- _デフォルト_: `['intlayer']`
|
|
@@ -813,6 +809,21 @@ export default config;
|
|
|
813
809
|
- _説明_: コンテンツ検索から除外するディレクトリ。
|
|
814
810
|
- _注意_: この設定はまだ使用されていませんが、将来的に実装予定です。
|
|
815
811
|
|
|
812
|
+
---
|
|
813
|
+
|
|
814
|
+
### システム設定
|
|
815
|
+
|
|
816
|
+
Intlayerの内部パスと出力結果に関連する設定。これらの設定は通常内部的なものであり、ユーザーが変更する必要はありません。
|
|
817
|
+
|
|
818
|
+
#### プロパティ
|
|
819
|
+
|
|
820
|
+
- **baseDir**:
|
|
821
|
+
- _タイプ_: `string`
|
|
822
|
+
- _デフォルト_: `process.cwd()`
|
|
823
|
+
- _説明_: プロジェクトのベースディレクトリ。
|
|
824
|
+
- _例_: `'/path/to/project'`
|
|
825
|
+
- _注意_: これはすべてのIntlayer関連ディレクトリを解決するために使用されます。
|
|
826
|
+
|
|
816
827
|
### 辞書設定
|
|
817
828
|
|
|
818
829
|
自動入力の動作やコンテンツ生成を含む、辞書操作を制御する設定。
|
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/ko/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: 구성
|
|
5
5
|
description: 애플리케이션에 맞게 Intlayer를 구성하는 방법을 배우세요. Intlayer를 사용자 요구에 맞게 맞춤 설정할 수 있는 다양한 설정과 옵션을 이해하세요.
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: 'baseDir'을 'content' 구성에서 'system' 구성으로 이동
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-10
|
|
19
|
-
changes:
|
|
22
|
+
changes: 컴파일러 옵션 업데이트, 'output' 및 'noMetadata' 지원 추가
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: 컴파일러 옵션 업데이트
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face, Together.ai 제공업체 지원 추가
|
|
26
29
|
- version: 8.0.5
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: AI 구성에 `dataSerialization` 추가
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: importMode 빌드 구성을 사전 구성으로 이동.
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: 시스템 구성에서 콘텐츠 구성을 분리합니다. 내부 경로를 `system` 속성으로 이동합니다. 콘텐츠 파일과 코드 변환을 분리하기 위해 `codeDir`를 추가합니다.
|
|
@@ -738,13 +741,6 @@ export default config;
|
|
|
738
741
|
- _예시_: `['.data.ts', '.data.js', '.data.json']`
|
|
739
742
|
- _참고_: 파일 확장자를 사용자 정의하면 충돌을 방지할 수 있습니다.
|
|
740
743
|
|
|
741
|
-
- **baseDir**:
|
|
742
|
-
- _유형_: `string`
|
|
743
|
-
- _기본값_: `process.cwd()`
|
|
744
|
-
- _설명_: 프로젝트의 기본 디렉토리입니다.
|
|
745
|
-
- _예시_: `'/path/to/project'`
|
|
746
|
-
- _참고_: 모든 Intlayer 관련 디렉토리를 해석하는 데 사용됩니다.
|
|
747
|
-
|
|
748
744
|
- **dictionaryOutput**:
|
|
749
745
|
- _유형_: `string[]`
|
|
750
746
|
- _기본값_: `['intlayer']`
|
|
@@ -813,6 +809,21 @@ export default config;
|
|
|
813
809
|
- _설명_: 콘텐츠 검색에서 제외할 디렉토리 목록입니다.
|
|
814
810
|
- _참고_: 이 설정은 아직 사용되지 않았으며, 향후 구현될 예정입니다.
|
|
815
811
|
|
|
812
|
+
---
|
|
813
|
+
|
|
814
|
+
### 시스템 구성
|
|
815
|
+
|
|
816
|
+
Intlayer의 내부 경로 및 출력 결과와 관련된 설정입니다. 이러한 설정은 일반적으로 내부적이며 사용자가 수정할 필요가 없습니다.
|
|
817
|
+
|
|
818
|
+
#### 속성
|
|
819
|
+
|
|
820
|
+
- **baseDir**:
|
|
821
|
+
- _유형_: `string`
|
|
822
|
+
- _기본값_: `process.cwd()`
|
|
823
|
+
- _설명_: 프로젝트의 기본 디렉토리입니다.
|
|
824
|
+
- _예시_: `'/path/to/project'`
|
|
825
|
+
- _참고_: 모든 Intlayer 관련 디렉토리를 해석하는 데 사용됩니다.
|
|
826
|
+
|
|
816
827
|
### 사전 구성
|
|
817
828
|
|
|
818
829
|
자동 채우기 동작 및 콘텐츠 생성을 포함하여 사전 작업을 제어하는 설정입니다.
|
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/pl/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: Konfiguracja
|
|
5
5
|
description: Dowiedz się, jak skonfigurować Intlayer dla swojej aplikacji. Zrozum różne ustawienia i opcje dostępne do dostosowania Intlayer do Twoich potrzeb.
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: Przenieś 'baseDir' z konfiguracji 'content' do konfiguracji 'system'
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-09
|
|
19
|
-
changes:
|
|
22
|
+
changes: Zaktualizuj opcje kompilatora, dodaj obsługę 'output' i 'noMetadata'
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: Aktualizacja opcji kompilatora
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Dodaj obsługę dostawców Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face i Together.ai
|
|
26
29
|
- version: 8.0.5
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: Dodano `dataSerialization` do konfiguracji AI
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: Przenieś konfigurację budowania importMode do konfiguracji słownika.
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: Oddziel konfigurację systemu od konfiguracji treści. Przenieś wewnętrzne ścieżki do właściwości `system`. Dodaj `codeDir`, aby oddzielić pliki treści od transformacji kodu.
|
|
@@ -847,13 +850,6 @@ Ustawienia związane z obsługą treści w aplikacji, w tym nazwy katalogów, ro
|
|
|
847
850
|
- _Przykład_: `['.data.ts', '.data.js', '.data.json']`
|
|
848
851
|
- _Uwaga_: Dostosowanie rozszerzeń plików może pomóc uniknąć konfliktów.
|
|
849
852
|
|
|
850
|
-
- **baseDir**:
|
|
851
|
-
- _Typ_: `string`
|
|
852
|
-
- _Domyślnie_: `process.cwd()`
|
|
853
|
-
- _Opis_: Katalog bazowy projektu.
|
|
854
|
-
- _Przykład_: `'/path/to/project'`
|
|
855
|
-
- _Uwaga_: Jest używany do rozwiązywania wszystkich katalogów związanych z Intlayer.
|
|
856
|
-
|
|
857
853
|
- **contentDir**:
|
|
858
854
|
- _Typ_: `string[]`
|
|
859
855
|
- _Domyślnie_: `['.']`
|
|
@@ -868,10 +864,26 @@ Ustawienia związane z obsługą treści w aplikacji, w tym nazwy katalogów, ro
|
|
|
868
864
|
- _Opis_: Ścieżka katalogu, w którym przechowywany jest kod, względem katalogu bazowego.
|
|
869
865
|
- _Uwaga_: Jest używany do monitorowania plików kodu w celu transformacji (przycinanie, optymalizacja). Utrzymanie tego oddzielnie od `contentDir` może poprawić wydajność kompilacji, unikając niepotrzebnego skanowania plików treści.
|
|
870
866
|
|
|
867
|
+
---
|
|
868
|
+
|
|
869
|
+
### Konfiguracja systemu
|
|
870
|
+
|
|
871
|
+
Ustawienia związane z wewnętrznymi ścieżkami oraz wynikami wyjściowymi Intlayer. Te ustawienia są zazwyczaj wewnętrzne i nie powinny być modyfikowane przez użytkownika.
|
|
872
|
+
|
|
873
|
+
#### Właściwości
|
|
874
|
+
|
|
875
|
+
- **baseDir**:
|
|
876
|
+
- _Typ_: `string`
|
|
877
|
+
- _Domyślnie_: `process.cwd()`
|
|
878
|
+
- _Opis_: Katalog bazowy projektu.
|
|
879
|
+
- _Przykład_: `'/path/to/project'`
|
|
880
|
+
- _Uwaga_: Jest używany do rozwiązywania wszystkich katalogów związanych z Intlayer.
|
|
881
|
+
|
|
871
882
|
- **dictionariesDir**:
|
|
872
883
|
- _Typ_: `string`
|
|
873
|
-
- _Domyślnie_: `'.intlayer/
|
|
874
|
-
- _Opis_: Ścieżka katalogu do przechowywania
|
|
884
|
+
- _Domyślnie_: `'.intlayer/dictionary'`
|
|
885
|
+
- _Opis_: Ścieżka katalogu do przechowywania słowników lokalizacyjnych.
|
|
886
|
+
- _Przykład_: `'translations'`
|
|
875
887
|
|
|
876
888
|
- **moduleAugmentationDir**:
|
|
877
889
|
- _Typ_: `string`
|
|
@@ -886,12 +898,6 @@ Ustawienia związane z obsługą treści w aplikacji, w tym nazwy katalogów, ro
|
|
|
886
898
|
- _Opis_: Katalog do przechowywania niepołączonych słowników.
|
|
887
899
|
- _Przykład_: `'translations'`
|
|
888
900
|
|
|
889
|
-
- **dictionariesDir**:
|
|
890
|
-
- _Typ_: `string`
|
|
891
|
-
- _Domyślnie_: `'.intlayer/dictionary'`
|
|
892
|
-
- _Opis_: Katalog do przechowywania słowników lokalizacyjnych.
|
|
893
|
-
- _Przykład_: `'translations'`
|
|
894
|
-
|
|
895
901
|
- **typesDir**:
|
|
896
902
|
- _Typ_: `string`
|
|
897
903
|
- _Domyślnie_: `'types'`
|
|
@@ -437,12 +437,33 @@ export const Route = createFileRoute("/{-$locale}/")({
|
|
|
437
437
|
component: RouteComponent,
|
|
438
438
|
head: ({ params }) => {
|
|
439
439
|
const { locale } = params;
|
|
440
|
+
const path = "/"; // The path for this route
|
|
441
|
+
|
|
440
442
|
const metaContent = getIntlayer("app", locale);
|
|
441
443
|
|
|
442
444
|
return {
|
|
445
|
+
links: [
|
|
446
|
+
// Canonical link: Points to the current localized page
|
|
447
|
+
{ rel: "canonical", href: getLocalizedUrl(path, locale) },
|
|
448
|
+
|
|
449
|
+
// Hreflang: Tell Google about all localized versions
|
|
450
|
+
...localeMap(({ locale: mapLocale }) => ({
|
|
451
|
+
rel: "alternate",
|
|
452
|
+
hrefLang: mapLocale,
|
|
453
|
+
href: getLocalizedUrl(path, mapLocale),
|
|
454
|
+
})),
|
|
455
|
+
|
|
456
|
+
// x-default: For users in unmatched languages
|
|
457
|
+
// Define the default fallback locale (usually your primary language)
|
|
458
|
+
{
|
|
459
|
+
rel: "alternate",
|
|
460
|
+
hrefLang: "x-default",
|
|
461
|
+
href: getLocalizedUrl(path, defaultLocale),
|
|
462
|
+
},
|
|
463
|
+
],
|
|
443
464
|
meta: [
|
|
444
465
|
{ title: metaContent.title },
|
|
445
|
-
{ content: metaContent.meta.description
|
|
466
|
+
{ name: "description", content: metaContent.meta.description },
|
|
446
467
|
],
|
|
447
468
|
};
|
|
448
469
|
},
|
package/docs/pt/configuration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-08-13
|
|
3
|
-
updatedAt: 2026-03-
|
|
3
|
+
updatedAt: 2026-03-11
|
|
4
4
|
title: Configuração
|
|
5
5
|
description: Aprenda como configurar o Intlayer para sua aplicação. Entenda as várias configurações e opções disponíveis para personalizar o Intlayer conforme suas necessidades.
|
|
6
6
|
keywords:
|
|
@@ -14,21 +14,24 @@ slugs:
|
|
|
14
14
|
- concept
|
|
15
15
|
- configuration
|
|
16
16
|
history:
|
|
17
|
+
- version: 8.3.0
|
|
18
|
+
data: 2026-03-11
|
|
19
|
+
changes: Mover 'baseDir' da configuração de 'content' para a configuração de 'system'
|
|
17
20
|
- version: 8.2.0
|
|
18
21
|
date: 2026-03-10
|
|
19
|
-
changes:
|
|
22
|
+
changes: Atualizar opções do compilador, adicionar suporte para 'output' e 'noMetadata'
|
|
20
23
|
- version: 8.1.7
|
|
21
24
|
date: 2026-02-25
|
|
22
25
|
changes: Atualizar opções do compilador
|
|
23
26
|
- version: 8.0.6
|
|
24
27
|
date: 2026-02-12
|
|
25
|
-
changes:
|
|
28
|
+
changes: Adicionar suporte para os provedores Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face e Together.ai
|
|
26
29
|
- version: 8.0.4
|
|
27
30
|
date: 2026-02-06
|
|
28
31
|
changes: Adicionar `dataSerialization` à configuração de IA
|
|
29
32
|
- version: 8.0.0
|
|
30
33
|
date: 2026-01-22
|
|
31
|
-
changes:
|
|
34
|
+
changes: Mover a configuração de build importMode para a configuração do dicionário.
|
|
32
35
|
- version: 8.0.0
|
|
33
36
|
date: 2026-01-18
|
|
34
37
|
changes: Separar a configuração do sistema da configuração do conteúdo. Mover os caminhos internos para a propriedade `system`. Adicionar `codeDir` para separar os arquivos de conteúdo da transformação do código.
|
|
@@ -735,13 +738,6 @@ Configurações relacionadas ao manuseio de conteúdo dentro da aplicação, inc
|
|
|
735
738
|
- _Exemplo_: `['.data.ts', '.data.js', '.data.json']`
|
|
736
739
|
- _Nota_: Personalizar extensões de arquivo pode ajudar a evitar conflitos.
|
|
737
740
|
|
|
738
|
-
- **baseDir**:
|
|
739
|
-
- _Tipo_: `string`
|
|
740
|
-
- _Padrão_: `process.cwd()`
|
|
741
|
-
- _Descrição_: O diretório base para o projeto.
|
|
742
|
-
- _Exemplo_: `'/path/to/project'`
|
|
743
|
-
- _Nota_: Isso é usado para resolver todos os diretórios relacionados ao Intlayer.
|
|
744
|
-
|
|
745
741
|
- **contentDir**:
|
|
746
742
|
- _Tipo_: `string[]`
|
|
747
743
|
- _Padrão_: `['.']`
|
|
@@ -780,6 +776,13 @@ Configurações relacionadas aos caminhos internos e resultados de saída do Int
|
|
|
780
776
|
|
|
781
777
|
#### Propriedades
|
|
782
778
|
|
|
779
|
+
- **baseDir**:
|
|
780
|
+
- _Tipo_: `string`
|
|
781
|
+
- _Padrão_: `process.cwd()`
|
|
782
|
+
- _Descrição_: O diretório base para o projeto.
|
|
783
|
+
- _Exemplo_: `'/path/to/project'`
|
|
784
|
+
- _Nota_: Isso é usado para resolver todos os diretórios relacionados ao Intlayer.
|
|
785
|
+
|
|
783
786
|
- **dictionariesDir**:
|
|
784
787
|
- _Tipo_: `string`
|
|
785
788
|
- _Padrão_: `'.intlayer/dictionary'`
|