@intlayer/docs 8.3.1 → 8.3.3
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/blog/ar/i18n_using_next-i18next.md +1 -0
- package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +0 -29
- package/blog/uk/internationalization_and_SEO.md +1 -1
- package/docs/ar/cli/init.md +1 -1
- package/docs/ar/configuration.md +2 -21
- package/docs/ar/intlayer_with_analog.md +2 -2
- package/docs/ar/intlayer_with_angular.md +2 -2
- package/docs/ar/intlayer_with_astro.md +2 -2
- package/docs/ar/intlayer_with_lynx+react.md +2 -2
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +4 -7
- package/docs/ar/intlayer_with_react_native+expo.md +2 -2
- package/docs/ar/intlayer_with_vite+preact.md +2 -2
- package/docs/ar/intlayer_with_vite+solid.md +2 -2
- package/docs/ar/intlayer_with_vite+svelte.md +2 -2
- package/docs/ar/intlayer_with_vite+vue.md +4 -4
- package/docs/ar/vs_code_extension.md +1 -1
- package/docs/de/configuration.md +2 -21
- package/docs/de/intlayer_with_analog.md +2 -2
- package/docs/de/intlayer_with_angular.md +2 -2
- package/docs/de/intlayer_with_astro.md +2 -2
- package/docs/de/intlayer_with_lynx+react.md +2 -2
- package/docs/de/intlayer_with_react_native+expo.md +2 -2
- package/docs/de/intlayer_with_vite+preact.md +2 -2
- package/docs/de/intlayer_with_vite+solid.md +2 -2
- package/docs/de/intlayer_with_vite+svelte.md +2 -2
- package/docs/de/intlayer_with_vite+vue.md +2 -2
- package/docs/de/vs_code_extension.md +1 -1
- package/docs/en/cli/init.md +1 -1
- package/docs/en/configuration.md +2 -20
- package/docs/en/intlayer_with_analog.md +1 -1
- package/docs/en/intlayer_with_angular.md +1 -1
- package/docs/en/intlayer_with_astro.md +1 -1
- package/docs/en/intlayer_with_lynx+react.md +1 -1
- package/docs/en/intlayer_with_react_native+expo.md +1 -1
- package/docs/en/intlayer_with_vite+preact.md +1 -1
- package/docs/en/intlayer_with_vite+solid.md +1 -1
- package/docs/en/intlayer_with_vite+svelte.md +1 -1
- package/docs/en/intlayer_with_vite+vue.md +1 -1
- package/docs/en/vs_code_extension.md +1 -1
- package/docs/en-GB/cli/init.md +1 -1
- package/docs/en-GB/configuration.md +2 -21
- package/docs/en-GB/intlayer_with_analog.md +1 -1
- package/docs/en-GB/intlayer_with_angular.md +1 -1
- package/docs/en-GB/intlayer_with_astro.md +1 -1
- package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
- package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
- package/docs/en-GB/intlayer_with_vite+react.md +1 -1
- package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
- package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
- package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
- package/docs/en-GB/vs_code_extension.md +1 -1
- package/docs/es/configuration.md +2 -21
- package/docs/es/intlayer_with_analog.md +2 -2
- package/docs/es/intlayer_with_angular.md +2 -2
- package/docs/es/intlayer_with_astro.md +2 -2
- package/docs/es/intlayer_with_lynx+react.md +2 -2
- package/docs/es/intlayer_with_react_native+expo.md +2 -2
- package/docs/es/intlayer_with_vite+preact.md +2 -2
- package/docs/es/intlayer_with_vite+solid.md +2 -2
- package/docs/es/intlayer_with_vite+svelte.md +2 -2
- package/docs/es/intlayer_with_vite+vue.md +4 -4
- package/docs/es/vs_code_extension.md +1 -1
- package/docs/fr/configuration.md +2 -21
- package/docs/fr/intlayer_with_analog.md +2 -2
- package/docs/fr/intlayer_with_angular.md +2 -2
- package/docs/fr/intlayer_with_astro.md +2 -2
- package/docs/fr/intlayer_with_lynx+react.md +2 -2
- package/docs/fr/intlayer_with_react_native+expo.md +2 -2
- package/docs/fr/intlayer_with_vite+preact.md +2 -2
- package/docs/fr/intlayer_with_vite+react.md +2 -2
- package/docs/fr/intlayer_with_vite+solid.md +2 -2
- package/docs/fr/intlayer_with_vite+svelte.md +2 -2
- package/docs/fr/intlayer_with_vite+vue.md +4 -4
- package/docs/fr/vs_code_extension.md +1 -1
- package/docs/hi/cli/init.md +1 -1
- package/docs/hi/configuration.md +2 -21
- package/docs/hi/intlayer_with_analog.md +1 -1
- package/docs/hi/intlayer_with_angular.md +2 -2
- package/docs/hi/intlayer_with_astro.md +2 -2
- package/docs/hi/intlayer_with_lynx+react.md +2 -2
- package/docs/hi/intlayer_with_react_native+expo.md +2 -2
- package/docs/hi/intlayer_with_vite+preact.md +2 -2
- package/docs/hi/intlayer_with_vite+solid.md +2 -2
- package/docs/hi/intlayer_with_vite+svelte.md +2 -2
- package/docs/hi/intlayer_with_vite+vue.md +2 -2
- package/docs/hi/vs_code_extension.md +1 -1
- package/docs/id/configuration.md +2 -20
- package/docs/id/intlayer_with_analog.md +2 -2
- package/docs/id/intlayer_with_angular.md +2 -2
- package/docs/id/intlayer_with_astro.md +2 -2
- package/docs/id/intlayer_with_lynx+react.md +2 -2
- package/docs/id/intlayer_with_react_native+expo.md +2 -2
- package/docs/id/intlayer_with_vite+preact.md +2 -2
- package/docs/id/intlayer_with_vite+react.md +2 -2
- package/docs/id/intlayer_with_vite+solid.md +2 -2
- package/docs/id/intlayer_with_vite+svelte.md +2 -2
- package/docs/id/intlayer_with_vite+vue.md +2 -2
- package/docs/id/vs_code_extension.md +1 -1
- package/docs/it/configuration.md +2 -22
- package/docs/it/intlayer_with_analog.md +2 -2
- package/docs/it/intlayer_with_angular.md +2 -2
- package/docs/it/intlayer_with_astro.md +2 -2
- package/docs/it/intlayer_with_lynx+react.md +2 -2
- package/docs/it/intlayer_with_react_native+expo.md +2 -2
- package/docs/it/intlayer_with_vite+preact.md +2 -2
- package/docs/it/intlayer_with_vite+react.md +2 -2
- package/docs/it/intlayer_with_vite+solid.md +2 -2
- package/docs/it/intlayer_with_vite+svelte.md +2 -2
- package/docs/it/intlayer_with_vite+vue.md +4 -4
- package/docs/it/vs_code_extension.md +1 -1
- package/docs/ja/cli/init.md +1 -1
- package/docs/ja/configuration.md +2 -21
- package/docs/ja/intlayer_with_analog.md +2 -2
- package/docs/ja/intlayer_with_angular.md +2 -2
- package/docs/ja/intlayer_with_astro.md +2 -2
- package/docs/ja/intlayer_with_lynx+react.md +2 -2
- package/docs/ja/intlayer_with_react_native+expo.md +2 -2
- package/docs/ja/intlayer_with_vite+solid.md +2 -2
- package/docs/ja/intlayer_with_vite+svelte.md +2 -2
- package/docs/ja/intlayer_with_vite+vue.md +2 -2
- package/docs/ja/vs_code_extension.md +1 -1
- package/docs/ko/configuration.md +2 -21
- package/docs/ko/intlayer_with_analog.md +2 -2
- package/docs/ko/intlayer_with_angular.md +2 -2
- package/docs/ko/intlayer_with_astro.md +2 -2
- package/docs/ko/intlayer_with_lynx+react.md +2 -2
- package/docs/ko/intlayer_with_react_native+expo.md +2 -2
- package/docs/ko/intlayer_with_vite+preact.md +2 -2
- package/docs/ko/intlayer_with_vite+solid.md +2 -2
- package/docs/ko/intlayer_with_vite+svelte.md +2 -2
- package/docs/ko/intlayer_with_vite+vue.md +2 -2
- package/docs/ko/vs_code_extension.md +1 -1
- package/docs/pl/configuration.md +2 -20
- package/docs/pl/intlayer_with_analog.md +2 -2
- package/docs/pl/intlayer_with_angular.md +2 -2
- package/docs/pl/intlayer_with_astro.md +2 -2
- package/docs/pl/intlayer_with_lynx+react.md +2 -2
- package/docs/pl/intlayer_with_react_native+expo.md +2 -2
- package/docs/pl/intlayer_with_vite+preact.md +1 -1
- package/docs/pl/intlayer_with_vite+react.md +2 -2
- package/docs/pl/intlayer_with_vite+solid.md +2 -2
- package/docs/pl/intlayer_with_vite+svelte.md +2 -2
- package/docs/pl/intlayer_with_vite+vue.md +4 -4
- package/docs/pl/vs_code_extension.md +1 -1
- package/docs/pt/configuration.md +2 -12
- package/docs/pt/intlayer_with_analog.md +2 -2
- package/docs/pt/intlayer_with_angular.md +2 -2
- package/docs/pt/intlayer_with_astro.md +2 -2
- package/docs/pt/intlayer_with_lynx+react.md +2 -2
- package/docs/pt/intlayer_with_react_native+expo.md +2 -2
- package/docs/pt/intlayer_with_vite+preact.md +1 -1
- package/docs/pt/intlayer_with_vite+solid.md +2 -2
- package/docs/pt/intlayer_with_vite+svelte.md +2 -2
- package/docs/pt/intlayer_with_vite+vue.md +2 -2
- package/docs/pt/vs_code_extension.md +1 -1
- package/docs/ru/configuration.md +2 -21
- package/docs/ru/intlayer_with_analog.md +2 -2
- package/docs/ru/intlayer_with_angular.md +2 -2
- package/docs/ru/intlayer_with_astro.md +2 -2
- package/docs/ru/intlayer_with_lynx+react.md +2 -2
- package/docs/ru/intlayer_with_react_native+expo.md +2 -2
- package/docs/ru/intlayer_with_vite+preact.md +2 -2
- package/docs/ru/intlayer_with_vite+solid.md +2 -2
- package/docs/ru/intlayer_with_vite+svelte.md +2 -2
- package/docs/ru/intlayer_with_vite+vue.md +2 -2
- package/docs/ru/vs_code_extension.md +1 -1
- package/docs/tr/configuration.md +2 -21
- package/docs/tr/intlayer_with_analog.md +2 -2
- package/docs/tr/intlayer_with_angular.md +2 -2
- package/docs/tr/intlayer_with_astro.md +2 -2
- package/docs/tr/intlayer_with_lynx+react.md +2 -2
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +6 -14
- package/docs/tr/intlayer_with_react_native+expo.md +2 -2
- package/docs/tr/intlayer_with_vite+preact.md +2 -2
- package/docs/tr/intlayer_with_vite+react.md +2 -2
- package/docs/tr/intlayer_with_vite+solid.md +2 -2
- package/docs/tr/intlayer_with_vite+svelte.md +2 -2
- package/docs/tr/intlayer_with_vite+vue.md +2 -2
- package/docs/tr/vs_code_extension.md +1 -1
- package/docs/uk/cli/init.md +1 -1
- package/docs/uk/configuration.md +2 -20
- package/docs/uk/intlayer_with_analog.md +2 -2
- package/docs/uk/intlayer_with_angular.md +2 -2
- package/docs/uk/intlayer_with_astro.md +2 -2
- package/docs/uk/intlayer_with_lynx+react.md +2 -2
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -22
- package/docs/uk/intlayer_with_react_native+expo.md +2 -2
- package/docs/uk/intlayer_with_vite+preact.md +2 -2
- package/docs/uk/intlayer_with_vite+solid.md +2 -2
- package/docs/uk/intlayer_with_vite+svelte.md +2 -2
- package/docs/uk/intlayer_with_vite+vue.md +2 -2
- package/docs/uk/vs_code_extension.md +1 -1
- package/docs/vi/cli/init.md +1 -1
- package/docs/vi/configuration.md +2 -20
- package/docs/vi/intlayer_with_analog.md +2 -2
- package/docs/vi/intlayer_with_angular.md +2 -2
- package/docs/vi/intlayer_with_astro.md +2 -2
- package/docs/vi/intlayer_with_lynx+react.md +2 -2
- package/docs/vi/intlayer_with_react_native+expo.md +2 -2
- package/docs/vi/intlayer_with_vite+preact.md +2 -2
- package/docs/vi/intlayer_with_vite+react.md +2 -2
- package/docs/vi/intlayer_with_vite+solid.md +2 -2
- package/docs/vi/intlayer_with_vite+svelte.md +2 -2
- package/docs/vi/intlayer_with_vite+vue.md +2 -2
- package/docs/vi/vs_code_extension.md +1 -1
- package/docs/zh/cli/init.md +1 -1
- package/docs/zh/configuration.md +2 -21
- package/docs/zh/intlayer_with_analog.md +2 -2
- package/docs/zh/intlayer_with_angular.md +2 -2
- package/docs/zh/intlayer_with_astro.md +2 -2
- package/docs/zh/intlayer_with_lynx+react.md +2 -2
- package/docs/zh/intlayer_with_react_native+expo.md +2 -2
- package/docs/zh/intlayer_with_vite+preact.md +2 -2
- package/docs/zh/intlayer_with_vite+solid.md +2 -2
- package/docs/zh/intlayer_with_vite+svelte.md +2 -2
- package/docs/zh/intlayer_with_vite+vue.md +4 -4
- package/docs/zh/vs_code_extension.md +2 -2
- package/package.json +8 -8
- package/docs/update_docs.py +0 -65
|
@@ -622,8 +622,8 @@ Intlayer ऑटोकम्प्लीशन को बेहतर बना
|
|
|
622
622
|
|
|
623
623
|
Intlayer द्वारा स्वचालित रूप से उत्पन्न फ़ाइलों को कमिट करने से बचने के लिए, अपनी `.gitignore` में निम्नलिखित जोड़ें:
|
|
624
624
|
|
|
625
|
-
```
|
|
626
|
-
#
|
|
625
|
+
```bash
|
|
626
|
+
# Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
|
|
627
627
|
.intlayer
|
|
628
628
|
```
|
|
629
629
|
|
|
@@ -1339,8 +1339,8 @@ Intlayer टाइपस्क्रिप्ट के लाभ प्रा
|
|
|
1339
1339
|
|
|
1340
1340
|
ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
|
|
1341
1341
|
|
|
1342
|
-
```
|
|
1343
|
-
#
|
|
1342
|
+
```bash
|
|
1343
|
+
# Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
|
|
1344
1344
|
.intlayer
|
|
1345
1345
|
```
|
|
1346
1346
|
|
|
@@ -555,8 +555,8 @@ const MyComponent = () => {
|
|
|
555
555
|
|
|
556
556
|
इसके लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
|
|
557
557
|
|
|
558
|
-
```
|
|
559
|
-
#
|
|
558
|
+
```bash
|
|
559
|
+
# Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
|
|
560
560
|
.intlayer
|
|
561
561
|
```
|
|
562
562
|
|
|
@@ -473,8 +473,8 @@ const changeLocale = (event: Event) => {
|
|
|
473
473
|
|
|
474
474
|
ऐसा करने के लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
|
|
475
475
|
|
|
476
|
-
```
|
|
477
|
-
#
|
|
476
|
+
```bash
|
|
477
|
+
# Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
|
|
478
478
|
.intlayer
|
|
479
479
|
```
|
|
480
480
|
|
|
@@ -1045,8 +1045,8 @@ Intlayer द्वारा उत्पन्न फ़ाइलों को
|
|
|
1045
1045
|
|
|
1046
1046
|
इसके लिए, आप अपनी `.gitignore` फ़ाइल में निम्नलिखित निर्देश जोड़ सकते हैं:
|
|
1047
1047
|
|
|
1048
|
-
```
|
|
1049
|
-
#
|
|
1048
|
+
```bash
|
|
1049
|
+
# Intlayer द्वारा उत्पन्न फ़ाइलों को अनदेखा करें
|
|
1050
1050
|
.intlayer
|
|
1051
1051
|
```
|
|
1052
1052
|
|
|
@@ -120,7 +120,7 @@ Intlayer सुझाव देता है कि आप अपने AI API
|
|
|
120
120
|
|
|
121
121
|
#### सक्रिय पर्यावरण का चयन करना
|
|
122
122
|
|
|
123
|
-
- **कमांड पैलेट**: पैलेट खोलें और `Intlayer: Select Environment` चलाएं, फिर पर्यावरण चुनें (जैसे, `development`, `staging`, `production`)। एक्सटेंशन प्राथमिकता सूची में उपलब्ध पहली फ़ाइल लोड करने का प्रयास करेगा और “Loaded env from
|
|
123
|
+
- **कमांड पैलेट**: पैलेट खोलें और `Intlayer: Select Environment` चलाएं, फिर पर्यावरण चुनें (जैसे, `development`, `staging`, `production`)। एक्सटेंशन प्राथमिकता सूची में उपलब्ध पहली फ़ाइल लोड करने का प्रयास करेगा और “Loaded env from `.env.<env>.local`” जैसी सूचना दिखाएगा।
|
|
124
124
|
- **सेटिंग्स**: `Settings → Extensions → Intlayer` पर जाएं, और सेट करें:
|
|
125
125
|
- **पर्यावरण**: वह पर्यावरण नाम जिसका उपयोग `.env.<env>*` फ़ाइलों को हल करने के लिए किया जाता है।
|
|
126
126
|
- (वैकल्पिक) **Env फ़ाइल**: `.env` फ़ाइल का स्पष्ट पथ। जब प्रदान किया जाता है, तो यह अनुमानित सूची पर प्राथमिकता लेता है।
|
package/docs/id/configuration.md
CHANGED
|
@@ -274,13 +274,13 @@ const config: IntlayerConfig = {
|
|
|
274
274
|
editor: {
|
|
275
275
|
/**
|
|
276
276
|
* Whether the visual editor is enabled.
|
|
277
|
-
* Default:
|
|
277
|
+
* Default: false
|
|
278
278
|
*/
|
|
279
279
|
enabled: true,
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* URL of your application for origin validation.
|
|
283
|
-
* Default: "
|
|
283
|
+
* Default: ""
|
|
284
284
|
*/
|
|
285
285
|
applicationURL: "http://localhost:3000",
|
|
286
286
|
|
|
@@ -1131,24 +1131,6 @@ Opsi build berlaku untuk plugin `@intlayer/babel` dan `@intlayer/swc`.
|
|
|
1131
1131
|
- _Catatan_: Opsi ini bergantung pada plugin `@intlayer/babel` dan `@intlayer/swc`.
|
|
1132
1132
|
- _Catatan_: Pastikan semua kunci dideklarasikan secara statis dalam panggilan `useIntlayer`. Contoh: `useIntlayer('navbar')`.
|
|
1133
1133
|
|
|
1134
|
-
- **importMode**:
|
|
1135
|
-
- _Catatan_: **Deprecated**: Use `dictionary.importMode` instead.
|
|
1136
|
-
- _Tipe_: `'static' | 'dynamic' | 'fetch'`
|
|
1137
|
-
- _Default_: `'static'`
|
|
1138
|
-
- _Deskripsi_: Mengontrol bagaimana kamus diimpor.
|
|
1139
|
-
- _Contoh_: `'dynamic'`
|
|
1140
|
-
- _Catatan_: Mode yang tersedia:
|
|
1141
|
-
- "static": Kamus diimpor secara statis. Mengganti `useIntlayer` dengan `useDictionary`.
|
|
1142
|
-
- "dynamic": Kamus diimpor secara dinamis menggunakan Suspense. Mengganti `useIntlayer` dengan `useDictionaryDynamic`.
|
|
1143
|
-
- "fetch": Kamus diambil secara dinamis menggunakan live sync API. Mengganti `useIntlayer` dengan `useDictionaryDynamic`.
|
|
1144
|
-
- _Catatan_: Impor dinamis bergantung pada Suspense dan mungkin sedikit memengaruhi performa rendering.
|
|
1145
|
-
- _Catatan_: Jika dinonaktifkan, semua locale akan dimuat sekaligus, meskipun tidak digunakan.
|
|
1146
|
-
- _Catatan_: Opsi ini bergantung pada plugin `@intlayer/babel` dan `@intlayer/swc`.
|
|
1147
|
-
- _Catatan_: Pastikan semua kunci dideklarasikan secara statis dalam panggilan `useIntlayer`. Contoh: `useIntlayer('navbar')`.
|
|
1148
|
-
- _Catatan_: Opsi ini akan diabaikan jika `optimize` dinonaktifkan.
|
|
1149
|
-
- _Catatan_: Jika diatur ke "live", hanya kamus yang menyertakan konten jarak jauh, dan diatur sebagai flag "live" yang akan diubah menjadi mode live. Yang lainnya akan diimpor secara dinamis sebagai mode "dynamic" untuk mengoptimalkan jumlah kueri pengambilan, dan kinerja pemuatan.
|
|
1150
|
-
- _Catatan_: Mode live akan menggunakan API sinkronisasi live untuk mengambil kamus. Jika panggilan API gagal, kamus akan diimpor secara dinamis sebagai mode "dynamic".
|
|
1151
|
-
- _Catatan_: Opsi ini tidak akan memengaruhi fungsi `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` dan `useDictionaryDynamic`.
|
|
1152
1134
|
- **checkTypes**:
|
|
1153
1135
|
- _Tipe_: `boolean`
|
|
1154
1136
|
- _Default_: `false`
|
|
@@ -344,8 +344,8 @@ Disarankan untuk mengabaikan file yang dihasilkan oleh Intlayer. Ini memungkinka
|
|
|
344
344
|
|
|
345
345
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
346
346
|
|
|
347
|
-
```
|
|
348
|
-
#
|
|
347
|
+
```bash
|
|
348
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
349
349
|
.intlayer
|
|
350
350
|
```
|
|
351
351
|
|
|
@@ -398,8 +398,8 @@ Disarankan untuk mengabaikan file yang dihasilkan oleh Intlayer. Ini memungkinka
|
|
|
398
398
|
|
|
399
399
|
To do this, you can add the following instructions to your `.gitignore` file:
|
|
400
400
|
|
|
401
|
-
```
|
|
402
|
-
#
|
|
401
|
+
```bash
|
|
402
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
403
403
|
.intlayer
|
|
404
404
|
```
|
|
405
405
|
|
|
@@ -226,8 +226,8 @@ Disarankan untuk mengabaikan file yang dihasilkan oleh Intlayer. Ini memungkinka
|
|
|
226
226
|
|
|
227
227
|
Untuk melakukannya, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
228
228
|
|
|
229
|
-
```
|
|
230
|
-
#
|
|
229
|
+
```bash
|
|
230
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
231
231
|
.intlayer
|
|
232
232
|
```
|
|
233
233
|
|
|
@@ -496,8 +496,8 @@ Ini yang memungkinkan fitur seperti:
|
|
|
496
496
|
|
|
497
497
|
Untuk menghindari commit file yang dihasilkan otomatis oleh Intlayer, tambahkan berikut ini ke `.gitignore` Anda:
|
|
498
498
|
|
|
499
|
-
```
|
|
500
|
-
#
|
|
499
|
+
```bash
|
|
500
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
501
501
|
.intlayer
|
|
502
502
|
```
|
|
503
503
|
|
|
@@ -648,8 +648,8 @@ Ini yang mengaktifkan fitur seperti:
|
|
|
648
648
|
|
|
649
649
|
Untuk menghindari commit file yang dihasilkan otomatis oleh Intlayer, tambahkan berikut ini ke `.gitignore` Anda:
|
|
650
650
|
|
|
651
|
-
```
|
|
652
|
-
#
|
|
651
|
+
```bash
|
|
652
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
653
653
|
.intlayer
|
|
654
654
|
```
|
|
655
655
|
|
|
@@ -1342,8 +1342,8 @@ Disarankan untuk mengabaikan file yang dihasilkan oleh Intlayer. Ini memungkinka
|
|
|
1342
1342
|
|
|
1343
1343
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
1344
1344
|
|
|
1345
|
-
```
|
|
1346
|
-
#
|
|
1345
|
+
```bash
|
|
1346
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
1347
1347
|
.intlayer
|
|
1348
1348
|
```
|
|
1349
1349
|
|
|
@@ -1394,8 +1394,8 @@ Disarankan untuk mengabaikan file-file yang dihasilkan oleh Intlayer. Ini memung
|
|
|
1394
1394
|
|
|
1395
1395
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
1396
1396
|
|
|
1397
|
-
```
|
|
1398
|
-
#
|
|
1397
|
+
```bash
|
|
1398
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
1399
1399
|
.intlayer
|
|
1400
1400
|
```
|
|
1401
1401
|
|
|
@@ -554,8 +554,8 @@ Disarankan untuk mengabaikan file yang dihasilkan oleh Intlayer. Ini memungkinka
|
|
|
554
554
|
|
|
555
555
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
556
556
|
|
|
557
|
-
```
|
|
558
|
-
#
|
|
557
|
+
```bash
|
|
558
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
559
559
|
.intlayer
|
|
560
560
|
```
|
|
561
561
|
|
|
@@ -479,8 +479,8 @@ Disarankan untuk mengabaikan file-file yang dihasilkan oleh Intlayer. Ini memung
|
|
|
479
479
|
|
|
480
480
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke file `.gitignore` Anda:
|
|
481
481
|
|
|
482
|
-
```
|
|
483
|
-
#
|
|
482
|
+
```bash
|
|
483
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
484
484
|
.intlayer
|
|
485
485
|
```
|
|
486
486
|
|
|
@@ -1069,8 +1069,8 @@ Disarankan untuk mengabaikan file-file yang dihasilkan oleh Intlayer. Ini memung
|
|
|
1069
1069
|
|
|
1070
1070
|
Untuk melakukan ini, Anda dapat menambahkan instruksi berikut ke dalam file `.gitignore` Anda:
|
|
1071
1071
|
|
|
1072
|
-
```
|
|
1073
|
-
#
|
|
1072
|
+
```bash
|
|
1073
|
+
# Abaikan file yang dihasilkan oleh Intlayer
|
|
1074
1074
|
.intlayer
|
|
1075
1075
|
```
|
|
1076
1076
|
|
|
@@ -120,7 +120,7 @@ Ekstensi dapat memuat variabel lingkungan dari workspace Anda untuk menjalankan
|
|
|
120
120
|
|
|
121
121
|
#### Memilih environment aktif
|
|
122
122
|
|
|
123
|
-
- **Command Palette**: buka palette dan jalankan `Intlayer: Select Environment`, lalu pilih environment (misalnya, `development`, `staging`, `production`). Ekstensi akan mencoba memuat file pertama yang tersedia dalam daftar prioritas di atas dan menampilkan notifikasi seperti “Loaded env from
|
|
123
|
+
- **Command Palette**: buka palette dan jalankan `Intlayer: Select Environment`, lalu pilih environment (misalnya, `development`, `staging`, `production`). Ekstensi akan mencoba memuat file pertama yang tersedia dalam daftar prioritas di atas dan menampilkan notifikasi seperti “Loaded env from `.env.<env>.local`”.
|
|
124
124
|
- **Settings**: buka `Settings → Extensions → Intlayer`, dan atur:
|
|
125
125
|
- **Environment**: nama environment yang digunakan untuk menyelesaikan file `.env.<env>*`.
|
|
126
126
|
- (Opsional) **Env File**: jalur eksplisit ke file `.env`. Jika disediakan, ini akan memiliki prioritas lebih tinggi daripada daftar yang diinferensikan.
|
package/docs/it/configuration.md
CHANGED
|
@@ -283,13 +283,13 @@ const config: IntlayerConfig = {
|
|
|
283
283
|
editor: {
|
|
284
284
|
/**
|
|
285
285
|
* Whether the visual editor is enabled.
|
|
286
|
-
* Default:
|
|
286
|
+
* Default: false
|
|
287
287
|
*/
|
|
288
288
|
enabled: true,
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* URL of your application for origin validation.
|
|
292
|
-
* Default: "
|
|
292
|
+
* Default: ""
|
|
293
293
|
*/
|
|
294
294
|
applicationURL: "http://localhost:3000",
|
|
295
295
|
|
|
@@ -1200,26 +1200,6 @@ Le opzioni di build si applicano ai plugin `@intlayer/babel` e `@intlayer/swc`.
|
|
|
1200
1200
|
- _Nota_ : Questa opzione si basa sui plugin `@intlayer/babel` e `@intlayer/swc`.
|
|
1201
1201
|
- _Nota_ : Assicurarsi che tutte le chiavi siano dichiarate staticamente nelle chiamate a `useIntlayer`. Ad esempio `useIntlayer('navbar')`.
|
|
1202
1202
|
|
|
1203
|
-
- **importMode** :
|
|
1204
|
-
- _Tipo_ : `'static' | 'dynamic' | 'fetch'`
|
|
1205
|
-
- _Predefinito_ : `'static'`
|
|
1206
|
-
- _Descrizione_ : Controlla come vengono importati i dizionari.
|
|
1207
|
-
- _Esempio_ : `'dynamic'`
|
|
1208
|
-
- _Nota_ : Modalità disponibili:
|
|
1209
|
-
- "static": I dizionari sono importati staticamente. Sostituisce `useIntlayer` con `useDictionary`.
|
|
1210
|
-
- "dynamic": I dizionari sono importati dinamicamente usando Suspense. Sostituisce `useIntlayer` con `useDictionaryDynamic`.
|
|
1211
|
-
- "fetch": I dizionari vengono recuperati dinamicamente utilizzando l'API di sincronizzazione live. Sostituisce `useIntlayer` con `useDictionaryDynamic`.
|
|
1212
|
-
- _Nota_ : Gli import dinamici si basano su Suspense e possono influire leggermente sulle prestazioni di rendering.
|
|
1213
|
-
- _Nota_ : Se disabilitato, tutte le localizzazioni verranno caricate contemporaneamente, anche se non vengono utilizzate.
|
|
1214
|
-
- _Nota_ : Questa opzione si basa sui plugin `@intlayer/babel` e `@intlayer/swc`.
|
|
1215
|
-
- _Nota_ : Assicurarsi che tutte le chiavi siano dichiarate staticamente nelle chiamate a `useIntlayer`. Ad esempio `useIntlayer('navbar')`.
|
|
1216
|
-
- _Nota_ : Questa opzione verrà ignorata se `optimize` è disabilitato.
|
|
1217
|
-
- _Nota_ : Se impostato su "fetch", solo i dizionari che includono contenuti remoti e sono contrassegnati come "fetch" saranno trasformati in modalità live. Gli altri saranno importati dinamicamente in modalità "dynamic" per ottimizzare il numero di richieste di fetch e le prestazioni di caricamento.
|
|
1218
|
-
- _Nota_ : La modalità fetch utilizzerà l'API di sincronizzazione live per recuperare i dizionari. Se la chiamata API fallisce, i dizionari saranno importati dinamicamente in modalità "dynamic".
|
|
1219
|
-
- _Nota_ : Questa opzione non influenzerà le funzioni `getIntlayer`, `getDictionary`, `useDictionary`, `useDictionaryAsync` e `useDictionaryDynamic`.
|
|
1220
|
-
- _Nota_: **Veraltet**: Verwenden Sie statis... (Opps, wrong language in English note. Wait, the English note was "Deprecated: Use dictionary.importMode instead").
|
|
1221
|
-
- _Nota_: **Deprecato**: Usa invece `dictionary.importMode`.
|
|
1222
|
-
|
|
1223
1203
|
- **checkTypes** :
|
|
1224
1204
|
- _Tipo_ : `boolean`
|
|
1225
1205
|
- _Predefinito_ : `false`
|
|
@@ -344,8 +344,8 @@ Si consiglia di ignorare i file generati da Intlayer. Ciò consente di evitare d
|
|
|
344
344
|
|
|
345
345
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
346
346
|
|
|
347
|
-
```
|
|
348
|
-
#
|
|
347
|
+
```bash
|
|
348
|
+
# Ignora i file generati da Intlayer
|
|
349
349
|
.intlayer
|
|
350
350
|
```
|
|
351
351
|
|
|
@@ -395,8 +395,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo ti permette di evit
|
|
|
395
395
|
|
|
396
396
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
397
397
|
|
|
398
|
-
```
|
|
399
|
-
#
|
|
398
|
+
```bash
|
|
399
|
+
# Ignora i file generati da Intlayer
|
|
400
400
|
.intlayer
|
|
401
401
|
```
|
|
402
402
|
|
|
@@ -218,8 +218,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo ti permette di evit
|
|
|
218
218
|
|
|
219
219
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
220
220
|
|
|
221
|
-
```
|
|
222
|
-
#
|
|
221
|
+
```bash
|
|
222
|
+
# Ignora i file generati da Intlayer
|
|
223
223
|
.intlayer
|
|
224
224
|
```
|
|
225
225
|
|
|
@@ -500,8 +500,8 @@ Questo abilita funzionalità come:
|
|
|
500
500
|
|
|
501
501
|
Per evitare di commettere file generati automaticamente da Intlayer, aggiungi quanto segue al tuo `.gitignore`:
|
|
502
502
|
|
|
503
|
-
```
|
|
504
|
-
#
|
|
503
|
+
```bash
|
|
504
|
+
# Ignora i file generati da Intlayer
|
|
505
505
|
.intlayer
|
|
506
506
|
```
|
|
507
507
|
|
|
@@ -631,8 +631,8 @@ Questo abilita funzionalità come:
|
|
|
631
631
|
|
|
632
632
|
Per evitare di commettere file generati automaticamente da Intlayer, aggiungi quanto segue al tuo `.gitignore`:
|
|
633
633
|
|
|
634
|
-
```
|
|
635
|
-
#
|
|
634
|
+
```bash
|
|
635
|
+
# Ignora i file generati da Intlayer
|
|
636
636
|
.intlayer
|
|
637
637
|
```
|
|
638
638
|
|
|
@@ -1335,8 +1335,8 @@ Si consiglia di ignorare i file generati da Intlayer. Ciò ti consente di evitar
|
|
|
1335
1335
|
|
|
1336
1336
|
Per farlo, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
1337
1337
|
|
|
1338
|
-
```
|
|
1339
|
-
#
|
|
1338
|
+
```bash
|
|
1339
|
+
# Ignora i file generati da Intlayer
|
|
1340
1340
|
.intlayer
|
|
1341
1341
|
```
|
|
1342
1342
|
|
|
@@ -1392,8 +1392,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo ti permette di evit
|
|
|
1392
1392
|
|
|
1393
1393
|
Per farlo, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
1394
1394
|
|
|
1395
|
-
```
|
|
1396
|
-
#
|
|
1395
|
+
```bash
|
|
1396
|
+
# Ignora i file generati da Intlayer
|
|
1397
1397
|
.intlayer
|
|
1398
1398
|
```
|
|
1399
1399
|
|
|
@@ -557,8 +557,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo permette di evitare
|
|
|
557
557
|
|
|
558
558
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
559
559
|
|
|
560
|
-
```
|
|
561
|
-
#
|
|
560
|
+
```bash
|
|
561
|
+
# Ignora i file generati da Intlayer
|
|
562
562
|
.intlayer
|
|
563
563
|
```
|
|
564
564
|
|
|
@@ -473,8 +473,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo permette di evitare
|
|
|
473
473
|
|
|
474
474
|
Per farlo, puoi aggiungere le seguenti istruzioni nel tuo file `.gitignore`:
|
|
475
475
|
|
|
476
|
-
```
|
|
477
|
-
#
|
|
476
|
+
```bash
|
|
477
|
+
# Ignora i file generati da Intlayer
|
|
478
478
|
.intlayer
|
|
479
479
|
```
|
|
480
480
|
|
|
@@ -1080,8 +1080,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo ti permette di evit
|
|
|
1080
1080
|
|
|
1081
1081
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
1082
1082
|
|
|
1083
|
-
```
|
|
1084
|
-
#
|
|
1083
|
+
```bash
|
|
1084
|
+
# Ignora i file generati da Intlayer
|
|
1085
1085
|
.intlayer
|
|
1086
1086
|
```
|
|
1087
1087
|
|
|
@@ -1102,8 +1102,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo permette di evitare
|
|
|
1102
1102
|
|
|
1103
1103
|
Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
|
|
1104
1104
|
|
|
1105
|
-
```
|
|
1106
|
-
#
|
|
1105
|
+
```bash
|
|
1106
|
+
# Ignora i file generati da Intlayer
|
|
1107
1107
|
.intlayer
|
|
1108
1108
|
```
|
|
1109
1109
|
|
|
@@ -120,7 +120,7 @@ L'estensione può caricare le variabili d'ambiente dal tuo workspace per eseguir
|
|
|
120
120
|
|
|
121
121
|
#### Selezione dell'ambiente attivo
|
|
122
122
|
|
|
123
|
-
- **Palette dei Comandi**: apri la palette ed esegui `Intlayer: Select Environment`, quindi scegli l'ambiente (ad esempio, `development`, `staging`, `production`). L'estensione tenterà di caricare il primo file disponibile nella lista di priorità sopra indicata e mostrerà una notifica come “Caricato env da
|
|
123
|
+
- **Palette dei Comandi**: apri la palette ed esegui `Intlayer: Select Environment`, quindi scegli l'ambiente (ad esempio, `development`, `staging`, `production`). L'estensione tenterà di caricare il primo file disponibile nella lista di priorità sopra indicata e mostrerà una notifica come “Caricato env da `.env.<env>.local`”.
|
|
124
124
|
- **Impostazioni**: vai su `Impostazioni → Estensioni → Intlayer`, e imposta:
|
|
125
125
|
- **Ambiente**: il nome dell'ambiente usato per risolvere i file `.env.<env>*`.
|
|
126
126
|
- (Opzionale) **File Env**: un percorso esplicito a un file `.env`. Quando fornito, ha la precedenza sulla lista dedotta.
|
package/docs/ja/cli/init.md
CHANGED
|
@@ -71,7 +71,7 @@ npx intlayer init
|
|
|
71
71
|
Checking Intlayer configuration...
|
|
72
72
|
✓ Added .intlayer to .gitignore
|
|
73
73
|
✓ Updated tsconfig.json to include intlayer types
|
|
74
|
-
Created intlayer.config.ts
|
|
74
|
+
✓ Created intlayer.config.ts
|
|
75
75
|
✓ Injected import into vite.config.ts
|
|
76
76
|
✓ Intlayer init setup complete.
|
|
77
77
|
```
|
package/docs/ja/configuration.md
CHANGED
|
@@ -259,13 +259,13 @@ const config: IntlayerConfig = {
|
|
|
259
259
|
editor: {
|
|
260
260
|
/**
|
|
261
261
|
* Whether the visual editor is enabled.
|
|
262
|
-
* Default:
|
|
262
|
+
* Default: false
|
|
263
263
|
*/
|
|
264
264
|
enabled: true,
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* URL of your application for origin validation.
|
|
268
|
-
* Default: "
|
|
268
|
+
* Default: ""
|
|
269
269
|
*/
|
|
270
270
|
applicationURL: "http://localhost:3000",
|
|
271
271
|
|
|
@@ -1026,25 +1026,6 @@ Intlayerがアプリケーションの国際化をどのように最適化しビ
|
|
|
1026
1026
|
- _注意_: このオプションは`@intlayer/babel`および`@intlayer/swc`プラグインに依存しています。
|
|
1027
1027
|
- _注意_: `useIntlayer`の呼び出し内で、すべてのキーが静的に宣言されていることを確認してください。例: `useIntlayer('navbar')`。
|
|
1028
1028
|
|
|
1029
|
-
- **importMode**:
|
|
1030
|
-
- _注_: **Deprecated**: Use `dictionary.importMode` instead.
|
|
1031
|
-
- _タイプ_: `'static' | 'dynamic' | 'fetch'`
|
|
1032
|
-
- _デフォルト_: `'static'`
|
|
1033
|
-
- _説明_: 辞書のインポート方法を制御します。
|
|
1034
|
-
- _例_: `'dynamic'`
|
|
1035
|
-
- _注意_: 利用可能なモード:
|
|
1036
|
-
- "static": 辞書は静的にインポートされます。`useIntlayer`を`useDictionary`に置き換えます。
|
|
1037
|
-
- "dynamic": 辞書はSuspenseを使用して動的にインポートされます。`useIntlayer`を`useDictionaryDynamic`に置き換えます。
|
|
1038
|
-
- "fetch": 辞書はライブ同期APIを使用して動的に取得されます。`useIntlayer`は`useDictionaryFetch`に置き換えられます。
|
|
1039
|
-
- _注意_: 動的インポートはSuspenseに依存しており、レンダリングパフォーマンスにわずかな影響を与える可能性があります。
|
|
1040
|
-
- _注意_: 無効にすると、使用されていなくてもすべてのロケールが一度に読み込まれます。
|
|
1041
|
-
- _注意_: このオプションは`@intlayer/babel`および`@intlayer/swc`プラグインに依存しています。
|
|
1042
|
-
- _注意_: `useIntlayer`呼び出し内のすべてのキーが静的に宣言されていることを確認してください。例:`useIntlayer('navbar')`。
|
|
1043
|
-
- _注意_: `optimize`が無効の場合、このオプションは無視されます。
|
|
1044
|
-
- _注意_: "live" に設定されている場合、リモートコンテンツを含み、かつ "live" フラグが設定された辞書のみがライブモードとして変換されます。他の辞書はフェッチクエリの数と読み込みパフォーマンスを最適化するために、動的モードとして動的にインポートされます。
|
|
1045
|
-
- _注意_: ライブモードはライブ同期APIを使用して辞書を取得します。APIコールが失敗した場合、辞書は動的モードとして動的にインポートされます。
|
|
1046
|
-
- _注意_: このオプションは `getIntlayer`、`getDictionary`、`useDictionary`、`useDictionaryAsync`、および `useDictionaryDynamic` 関数には影響しません。
|
|
1047
|
-
|
|
1048
1029
|
- **outputFormat**:
|
|
1049
1030
|
- _型_: `'esm' | 'cjs'`
|
|
1050
1031
|
- _デフォルト_: `'esm'`
|
|
@@ -120,7 +120,7 @@ Intlayer は、AI APIキーや Intlayer クライアントIDおよびシーク
|
|
|
120
120
|
|
|
121
121
|
#### アクティブ環境の選択
|
|
122
122
|
|
|
123
|
-
- **コマンドパレット**: パレットを開き、`Intlayer: Select Environment` を実行して環境(例:`development`、`staging`、`production`)を選択します。拡張機能は上記の優先リストで最初に見つかったファイルを読み込み、「Loaded env from
|
|
123
|
+
- **コマンドパレット**: パレットを開き、`Intlayer: Select Environment` を実行して環境(例:`development`、`staging`、`production`)を選択します。拡張機能は上記の優先リストで最初に見つかったファイルを読み込み、「Loaded env from `.env.<env>.local`」のような通知を表示します。
|
|
124
124
|
- **設定**: `設定 → 拡張機能 → Intlayer` に移動し、以下を設定します:
|
|
125
125
|
- **Environment**: `.env.<env>*` ファイルを解決するために使用される環境名。
|
|
126
126
|
- (オプション)**Env File**: 明示的な `.env` ファイルへのパス。指定された場合、推測されたリストより優先されます。
|