@intlayer/docs 7.0.4 → 7.0.6
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/intlayer_with_i18next.md +72 -19
- package/blog/ar/intlayer_with_next-i18next.md +61 -36
- package/blog/ar/intlayer_with_next-intl.md +61 -13
- package/blog/ar/intlayer_with_react-i18next.md +67 -18
- package/blog/ar/intlayer_with_react-intl.md +66 -13
- package/blog/ar/intlayer_with_vue-i18n.md +180 -0
- package/blog/de/intlayer_with_i18next.md +61 -26
- package/blog/de/intlayer_with_next-i18next.md +66 -17
- package/blog/de/intlayer_with_next-intl.md +62 -13
- package/blog/de/intlayer_with_react-i18next.md +66 -17
- package/blog/de/intlayer_with_react-intl.md +66 -14
- package/blog/de/intlayer_with_vue-i18n.md +178 -0
- package/blog/en/intlayer_with_i18next.md +53 -2
- package/blog/en/intlayer_with_next-i18next.md +52 -16
- package/blog/en/intlayer_with_next-intl.md +49 -0
- package/blog/en/intlayer_with_react-i18next.md +50 -1
- package/blog/en/intlayer_with_react-intl.md +53 -0
- package/blog/en/intlayer_with_vue-i18n.md +178 -0
- package/blog/en-GB/intlayer_with_i18next.md +58 -7
- package/blog/en-GB/intlayer_with_next-i18next.md +55 -9
- package/blog/en-GB/intlayer_with_next-intl.md +55 -6
- package/blog/en-GB/intlayer_with_react-i18next.md +55 -6
- package/blog/en-GB/intlayer_with_react-intl.md +56 -3
- package/blog/en-GB/intlayer_with_vue-i18n.md +180 -0
- package/blog/es/intlayer_with_i18next.md +69 -18
- package/blog/es/intlayer_with_next-i18next.md +70 -24
- package/blog/es/intlayer_with_next-intl.md +64 -13
- package/blog/es/intlayer_with_react-i18next.md +61 -12
- package/blog/es/intlayer_with_react-intl.md +65 -12
- package/blog/es/intlayer_with_vue-i18n.md +178 -0
- package/blog/fr/intlayer_with_i18next.md +77 -16
- package/blog/fr/intlayer_with_next-i18next.md +55 -31
- package/blog/fr/intlayer_with_next-intl.md +57 -7
- package/blog/fr/intlayer_with_react-i18next.md +64 -7
- package/blog/fr/intlayer_with_react-intl.md +63 -10
- package/blog/fr/intlayer_with_vue-i18n.md +178 -0
- package/blog/hi/intlayer_with_i18next.md +67 -16
- package/blog/hi/intlayer_with_next-i18next.md +69 -23
- package/blog/hi/intlayer_with_next-intl.md +61 -8
- package/blog/hi/intlayer_with_react-i18next.md +63 -14
- package/blog/hi/intlayer_with_react-intl.md +66 -13
- package/blog/hi/intlayer_with_vue-i18n.md +180 -0
- package/blog/id/intlayer_with_i18next.md +65 -14
- package/blog/id/intlayer_with_next-i18next.md +58 -12
- package/blog/id/intlayer_with_next-intl.md +60 -11
- package/blog/id/intlayer_with_react-i18next.md +59 -10
- package/blog/id/intlayer_with_react-intl.md +66 -13
- package/blog/id/intlayer_with_vue-i18n.md +178 -0
- package/blog/it/intlayer_with_i18next.md +70 -19
- package/blog/it/intlayer_with_next-i18next.md +68 -22
- package/blog/it/intlayer_with_next-intl.md +62 -12
- package/blog/it/intlayer_with_react-i18next.md +65 -16
- package/blog/it/intlayer_with_react-intl.md +67 -14
- package/blog/it/intlayer_with_vue-i18n.md +178 -0
- package/blog/ja/intlayer_with_i18next.md +74 -24
- package/blog/ja/intlayer_with_next-i18next.md +60 -37
- package/blog/ja/intlayer_with_next-intl.md +63 -15
- package/blog/ja/intlayer_with_react-i18next.md +70 -21
- package/blog/ja/intlayer_with_react-intl.md +73 -21
- package/blog/ja/intlayer_with_vue-i18n.md +180 -0
- package/blog/ko/intlayer_with_i18next.md +60 -29
- package/blog/ko/intlayer_with_next-i18next.md +59 -32
- package/blog/ko/intlayer_with_next-intl.md +52 -23
- package/blog/ko/intlayer_with_react-i18next.md +65 -16
- package/blog/ko/intlayer_with_react-intl.md +74 -22
- package/blog/ko/intlayer_with_vue-i18n.md +180 -0
- package/blog/pl/intlayer_with_i18next.md +63 -12
- package/blog/pl/intlayer_with_next-i18next.md +74 -17
- package/blog/pl/intlayer_with_next-intl.md +59 -8
- package/blog/pl/intlayer_with_react-i18next.md +59 -10
- package/blog/pl/intlayer_with_react-intl.md +65 -12
- package/blog/pl/intlayer_with_vue-i18n.md +180 -0
- package/blog/pt/intlayer_with_i18next.md +67 -16
- package/blog/pt/intlayer_with_next-i18next.md +65 -19
- package/blog/pt/intlayer_with_next-intl.md +62 -12
- package/blog/pt/intlayer_with_react-i18next.md +67 -18
- package/blog/pt/intlayer_with_react-intl.md +62 -10
- package/blog/pt/intlayer_with_vue-i18n.md +178 -0
- package/blog/ru/intlayer_with_i18next.md +68 -15
- package/blog/ru/intlayer_with_next-i18next.md +71 -25
- package/blog/ru/intlayer_with_next-intl.md +56 -7
- package/blog/ru/intlayer_with_react-i18next.md +65 -16
- package/blog/ru/intlayer_with_react-intl.md +69 -16
- package/blog/ru/intlayer_with_vue-i18n.md +180 -0
- package/blog/tr/intlayer_with_i18next.md +67 -16
- package/blog/tr/intlayer_with_next-i18next.md +78 -21
- package/blog/tr/intlayer_with_next-intl.md +69 -18
- package/blog/tr/intlayer_with_react-i18next.md +65 -16
- package/blog/tr/intlayer_with_react-intl.md +71 -19
- package/blog/tr/intlayer_with_vue-i18n.md +180 -0
- package/blog/vi/intlayer_with_i18next.md +64 -13
- package/blog/vi/intlayer_with_next-i18next.md +72 -26
- package/blog/vi/intlayer_with_next-intl.md +62 -11
- package/blog/vi/intlayer_with_react-i18next.md +66 -17
- package/blog/vi/intlayer_with_react-intl.md +70 -17
- package/blog/vi/intlayer_with_vue-i18n.md +180 -0
- package/blog/zh/intlayer_with_i18next.md +67 -17
- package/blog/zh/intlayer_with_next-i18next.md +67 -22
- package/blog/zh/intlayer_with_next-intl.md +61 -13
- package/blog/zh/intlayer_with_react-i18next.md +67 -18
- package/blog/zh/intlayer_with_react-intl.md +69 -17
- package/blog/zh/intlayer_with_vue-i18n.md +180 -0
- package/dist/cjs/generated/blog.entry.cjs +19 -0
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs +19 -0
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +1 -0
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/docs/ar/intlayer_with_nextjs_15.md +36 -9
- package/docs/ar/intlayer_with_nextjs_16.md +36 -9
- package/docs/de/intlayer_with_nextjs_15.md +36 -9
- package/docs/de/intlayer_with_nextjs_16.md +24 -6
- package/docs/en/intlayer_with_nextjs_14.md +37 -9
- package/docs/en/intlayer_with_nextjs_15.md +40 -10
- package/docs/en/intlayer_with_nextjs_16.md +40 -10
- package/docs/en/plugins/sync-json.md +152 -55
- package/docs/en/releases/v7.md +1 -1
- package/docs/en-GB/intlayer_with_nextjs_15.md +36 -9
- package/docs/en-GB/intlayer_with_nextjs_16.md +36 -9
- package/docs/en-GB/releases/v7.md +1 -1
- package/docs/es/intlayer_with_nextjs_15.md +36 -9
- package/docs/es/intlayer_with_nextjs_16.md +36 -9
- package/docs/fr/intlayer_with_nextjs_15.md +36 -9
- package/docs/fr/intlayer_with_nextjs_16.md +37 -24
- package/docs/hi/intlayer_with_nextjs_15.md +36 -9
- package/docs/hi/intlayer_with_nextjs_16.md +36 -9
- package/docs/id/intlayer_with_nextjs_16.md +36 -9
- package/docs/it/intlayer_with_nextjs_15.md +36 -9
- package/docs/it/intlayer_with_nextjs_16.md +36 -9
- package/docs/ja/intlayer_with_nextjs_15.md +36 -9
- package/docs/ja/intlayer_with_nextjs_16.md +36 -9
- package/docs/ko/intlayer_with_nextjs_15.md +36 -9
- package/docs/ko/intlayer_with_nextjs_16.md +36 -9
- package/docs/pl/intlayer_with_nextjs_16.md +36 -9
- package/docs/pt/intlayer_with_nextjs_15.md +36 -9
- package/docs/pt/intlayer_with_nextjs_16.md +36 -9
- package/docs/ru/intlayer_with_nextjs_15.md +36 -9
- package/docs/ru/intlayer_with_nextjs_16.md +36 -9
- package/docs/tr/intlayer_with_nextjs_15.md +36 -9
- package/docs/tr/intlayer_with_nextjs_16.md +39 -21
- package/docs/vi/intlayer_with_nextjs_16.md +36 -9
- package/docs/zh/intlayer_with_nextjs_15.md +36 -9
- package/docs/zh/intlayer_with_nextjs_16.md +36 -9
- package/package.json +14 -14
- package/src/generated/blog.entry.ts +19 -0
|
@@ -1090,19 +1090,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
1090
1090
|
{
|
|
1091
1091
|
url: "https://example.com",
|
|
1092
1092
|
alternates: {
|
|
1093
|
-
languages: {
|
|
1093
|
+
languages: {
|
|
1094
|
+
...getMultilingualUrls("https://example.com"),
|
|
1095
|
+
"x-default": "https://example.com",
|
|
1096
|
+
},
|
|
1094
1097
|
},
|
|
1095
1098
|
},
|
|
1096
1099
|
{
|
|
1097
1100
|
url: "https://example.com/login",
|
|
1098
1101
|
alternates: {
|
|
1099
|
-
languages: {
|
|
1102
|
+
languages: {
|
|
1103
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1104
|
+
"x-default": "https://example.com/login",
|
|
1105
|
+
},
|
|
1100
1106
|
},
|
|
1101
1107
|
},
|
|
1102
1108
|
{
|
|
1103
1109
|
url: "https://example.com/register",
|
|
1104
1110
|
alternates: {
|
|
1105
|
-
languages: {
|
|
1111
|
+
languages: {
|
|
1112
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1113
|
+
"x-default": "https://example.com/register",
|
|
1114
|
+
},
|
|
1106
1115
|
},
|
|
1107
1116
|
},
|
|
1108
1117
|
];
|
|
@@ -1117,19 +1126,28 @@ const sitemap = () => [
|
|
|
1117
1126
|
{
|
|
1118
1127
|
url: "https://example.com",
|
|
1119
1128
|
alternates: {
|
|
1120
|
-
languages: {
|
|
1129
|
+
languages: {
|
|
1130
|
+
...getMultilingualUrls("https://example.com"),
|
|
1131
|
+
"x-default": "https://example.com",
|
|
1132
|
+
},
|
|
1121
1133
|
},
|
|
1122
1134
|
},
|
|
1123
1135
|
{
|
|
1124
1136
|
url: "https://example.com/login",
|
|
1125
1137
|
alternates: {
|
|
1126
|
-
languages: {
|
|
1138
|
+
languages: {
|
|
1139
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1140
|
+
"x-default": "https://example.com/login",
|
|
1141
|
+
},
|
|
1127
1142
|
},
|
|
1128
1143
|
},
|
|
1129
1144
|
{
|
|
1130
1145
|
url: "https://example.com/register",
|
|
1131
1146
|
alternates: {
|
|
1132
|
-
languages: {
|
|
1147
|
+
languages: {
|
|
1148
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1149
|
+
"x-default": "https://example.com/register",
|
|
1150
|
+
},
|
|
1133
1151
|
},
|
|
1134
1152
|
},
|
|
1135
1153
|
];
|
|
@@ -1144,19 +1162,28 @@ const sitemap = () => [
|
|
|
1144
1162
|
{
|
|
1145
1163
|
url: "https://example.com",
|
|
1146
1164
|
alternates: {
|
|
1147
|
-
languages: {
|
|
1165
|
+
languages: {
|
|
1166
|
+
...getMultilingualUrls("https://example.com"),
|
|
1167
|
+
"x-default": "https://example.com",
|
|
1168
|
+
},
|
|
1148
1169
|
},
|
|
1149
1170
|
},
|
|
1150
1171
|
{
|
|
1151
1172
|
url: "https://example.com/login",
|
|
1152
1173
|
alternates: {
|
|
1153
|
-
languages: {
|
|
1174
|
+
languages: {
|
|
1175
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1176
|
+
"x-default": "https://example.com/login",
|
|
1177
|
+
},
|
|
1154
1178
|
},
|
|
1155
1179
|
},
|
|
1156
1180
|
{
|
|
1157
1181
|
url: "https://example.com/register",
|
|
1158
1182
|
alternates: {
|
|
1159
|
-
languages: {
|
|
1183
|
+
languages: {
|
|
1184
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1185
|
+
"x-default": "https://example.com/register",
|
|
1186
|
+
},
|
|
1160
1187
|
},
|
|
1161
1188
|
},
|
|
1162
1189
|
];
|
|
@@ -1018,19 +1018,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
1018
1018
|
{
|
|
1019
1019
|
url: "https://example.com",
|
|
1020
1020
|
alternates: {
|
|
1021
|
-
languages: {
|
|
1021
|
+
languages: {
|
|
1022
|
+
...getMultilingualUrls("https://example.com"),
|
|
1023
|
+
"x-default": "https://example.com",
|
|
1024
|
+
},
|
|
1022
1025
|
},
|
|
1023
1026
|
},
|
|
1024
1027
|
{
|
|
1025
1028
|
url: "https://example.com/login",
|
|
1026
1029
|
alternates: {
|
|
1027
|
-
languages: {
|
|
1030
|
+
languages: {
|
|
1031
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1032
|
+
"x-default": "https://example.com/login",
|
|
1033
|
+
},
|
|
1028
1034
|
},
|
|
1029
1035
|
},
|
|
1030
1036
|
{
|
|
1031
1037
|
url: "https://example.com/register",
|
|
1032
1038
|
alternates: {
|
|
1033
|
-
languages: {
|
|
1039
|
+
languages: {
|
|
1040
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1041
|
+
"x-default": "https://example.com/register",
|
|
1042
|
+
},
|
|
1034
1043
|
},
|
|
1035
1044
|
},
|
|
1036
1045
|
];
|
|
@@ -1045,19 +1054,28 @@ const sitemap = () => [
|
|
|
1045
1054
|
{
|
|
1046
1055
|
url: "https://example.com",
|
|
1047
1056
|
alternates: {
|
|
1048
|
-
languages: {
|
|
1057
|
+
languages: {
|
|
1058
|
+
...getMultilingualUrls("https://example.com"),
|
|
1059
|
+
"x-default": "https://example.com",
|
|
1060
|
+
},
|
|
1049
1061
|
},
|
|
1050
1062
|
},
|
|
1051
1063
|
{
|
|
1052
1064
|
url: "https://example.com/login",
|
|
1053
1065
|
alternates: {
|
|
1054
|
-
languages: {
|
|
1066
|
+
languages: {
|
|
1067
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1068
|
+
"x-default": "https://example.com/login",
|
|
1069
|
+
},
|
|
1055
1070
|
},
|
|
1056
1071
|
},
|
|
1057
1072
|
{
|
|
1058
1073
|
url: "https://example.com/register",
|
|
1059
1074
|
alternates: {
|
|
1060
|
-
languages: {
|
|
1075
|
+
languages: {
|
|
1076
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1077
|
+
"x-default": "https://example.com/register",
|
|
1078
|
+
},
|
|
1061
1079
|
},
|
|
1062
1080
|
},
|
|
1063
1081
|
];
|
|
@@ -1072,19 +1090,28 @@ const sitemap = () => [
|
|
|
1072
1090
|
{
|
|
1073
1091
|
url: "https://example.com",
|
|
1074
1092
|
alternates: {
|
|
1075
|
-
languages: {
|
|
1093
|
+
languages: {
|
|
1094
|
+
...getMultilingualUrls("https://example.com"),
|
|
1095
|
+
"x-default": "https://example.com",
|
|
1096
|
+
},
|
|
1076
1097
|
},
|
|
1077
1098
|
},
|
|
1078
1099
|
{
|
|
1079
1100
|
url: "https://example.com/login",
|
|
1080
1101
|
alternates: {
|
|
1081
|
-
languages: {
|
|
1102
|
+
languages: {
|
|
1103
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1104
|
+
"x-default": "https://example.com/login",
|
|
1105
|
+
},
|
|
1082
1106
|
},
|
|
1083
1107
|
},
|
|
1084
1108
|
{
|
|
1085
1109
|
url: "https://example.com/register",
|
|
1086
1110
|
alternates: {
|
|
1087
|
-
languages: {
|
|
1111
|
+
languages: {
|
|
1112
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1113
|
+
"x-default": "https://example.com/register",
|
|
1114
|
+
},
|
|
1088
1115
|
},
|
|
1089
1116
|
},
|
|
1090
1117
|
];
|
|
@@ -236,20 +236,6 @@ module.exports = {
|
|
|
236
236
|
|
|
237
237
|
Pour implémenter le routage dynamique, fournissez le chemin pour la locale en ajoutant un nouveau layout dans votre répertoire `[locale]` :
|
|
238
238
|
|
|
239
|
-
````tsx fileName="src/app/[locale]/layout.tsx" codeFormat="typescript"
|
|
240
|
-
import type { NextLayoutIntlayer } from "next-intlayer";
|
|
241
|
-
import { Inter } from "next/font/google";
|
|
242
|
-
import { getHTMLTextDir } from "intlayer";
|
|
243
|
-
|
|
244
|
-
const inter = Inter({ subsets: ["latin"] });
|
|
245
|
-
|
|
246
|
-
const LocaleLayout: NextLayoutIntlayer = async ({ children, params }) => {
|
|
247
|
-
const { locale } = await params;
|
|
248
|
-
return (
|
|
249
|
-
> Garder le composant `RootLayout` vide permet de définir les attributs [`lang`](https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/lang) et [`dir`](https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/dir) sur la balise `<html>`.
|
|
250
|
-
|
|
251
|
-
Pour implémenter le routage dynamique, fournissez le chemin pour la locale en ajoutant un nouveau layout dans votre répertoire `[locale]` :
|
|
252
|
-
|
|
253
239
|
```tsx fileName="src/app/[locale]/layout.tsx" codeFormat="typescript"
|
|
254
240
|
import type { NextLayoutIntlayer } from "next-intlayer";
|
|
255
241
|
import { Inter } from "next/font/google";
|
|
@@ -267,7 +253,7 @@ const LocaleLayout: NextLayoutIntlayer = async ({ children, params }) => {
|
|
|
267
253
|
};
|
|
268
254
|
|
|
269
255
|
export default LocaleLayout;
|
|
270
|
-
|
|
256
|
+
```
|
|
271
257
|
|
|
272
258
|
```jsx fileName="src/app/[locale]/layout.mjx" codeFormat="esm"
|
|
273
259
|
import { getHTMLTextDir } from "intlayer";
|
|
@@ -1030,19 +1016,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
1030
1016
|
{
|
|
1031
1017
|
url: "https://example.com",
|
|
1032
1018
|
alternates: {
|
|
1033
|
-
languages: {
|
|
1019
|
+
languages: {
|
|
1020
|
+
...getMultilingualUrls("https://example.com"),
|
|
1021
|
+
"x-default": "https://example.com",
|
|
1022
|
+
},
|
|
1034
1023
|
},
|
|
1035
1024
|
},
|
|
1036
1025
|
{
|
|
1037
1026
|
url: "https://example.com/login",
|
|
1038
1027
|
alternates: {
|
|
1039
|
-
languages: {
|
|
1028
|
+
languages: {
|
|
1029
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1030
|
+
"x-default": "https://example.com/login",
|
|
1031
|
+
},
|
|
1040
1032
|
},
|
|
1041
1033
|
},
|
|
1042
1034
|
{
|
|
1043
1035
|
url: "https://example.com/register",
|
|
1044
1036
|
alternates: {
|
|
1045
|
-
languages: {
|
|
1037
|
+
languages: {
|
|
1038
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1039
|
+
"x-default": "https://example.com/register",
|
|
1040
|
+
},
|
|
1046
1041
|
},
|
|
1047
1042
|
},
|
|
1048
1043
|
];
|
|
@@ -1057,19 +1052,28 @@ const sitemap = () => [
|
|
|
1057
1052
|
{
|
|
1058
1053
|
url: "https://example.com",
|
|
1059
1054
|
alternates: {
|
|
1060
|
-
languages: {
|
|
1055
|
+
languages: {
|
|
1056
|
+
...getMultilingualUrls("https://example.com"),
|
|
1057
|
+
"x-default": "https://example.com",
|
|
1058
|
+
},
|
|
1061
1059
|
},
|
|
1062
1060
|
},
|
|
1063
1061
|
{
|
|
1064
1062
|
url: "https://example.com/login",
|
|
1065
1063
|
alternates: {
|
|
1066
|
-
languages: {
|
|
1064
|
+
languages: {
|
|
1065
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1066
|
+
"x-default": "https://example.com/login",
|
|
1067
|
+
},
|
|
1067
1068
|
},
|
|
1068
1069
|
},
|
|
1069
1070
|
{
|
|
1070
1071
|
url: "https://example.com/register",
|
|
1071
1072
|
alternates: {
|
|
1072
|
-
languages: {
|
|
1073
|
+
languages: {
|
|
1074
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1075
|
+
"x-default": "https://example.com/register",
|
|
1076
|
+
},
|
|
1073
1077
|
},
|
|
1074
1078
|
},
|
|
1075
1079
|
];
|
|
@@ -1084,19 +1088,28 @@ const sitemap = () => [
|
|
|
1084
1088
|
{
|
|
1085
1089
|
url: "https://example.com",
|
|
1086
1090
|
alternates: {
|
|
1087
|
-
languages: {
|
|
1091
|
+
languages: {
|
|
1092
|
+
...getMultilingualUrls("https://example.com"),
|
|
1093
|
+
"x-default": "https://example.com",
|
|
1094
|
+
},
|
|
1088
1095
|
},
|
|
1089
1096
|
},
|
|
1090
1097
|
{
|
|
1091
1098
|
url: "https://example.com/login",
|
|
1092
1099
|
alternates: {
|
|
1093
|
-
languages: {
|
|
1100
|
+
languages: {
|
|
1101
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1102
|
+
"x-default": "https://example.com/login",
|
|
1103
|
+
},
|
|
1094
1104
|
},
|
|
1095
1105
|
},
|
|
1096
1106
|
{
|
|
1097
1107
|
url: "https://example.com/register",
|
|
1098
1108
|
alternates: {
|
|
1099
|
-
languages: {
|
|
1109
|
+
languages: {
|
|
1110
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1111
|
+
"x-default": "https://example.com/register",
|
|
1112
|
+
},
|
|
1100
1113
|
},
|
|
1101
1114
|
},
|
|
1102
1115
|
];
|
|
@@ -976,19 +976,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
976
976
|
{
|
|
977
977
|
url: "https://example.com",
|
|
978
978
|
alternates: {
|
|
979
|
-
languages: {
|
|
979
|
+
languages: {
|
|
980
|
+
...getMultilingualUrls("https://example.com"),
|
|
981
|
+
"x-default": "https://example.com",
|
|
982
|
+
},
|
|
980
983
|
},
|
|
981
984
|
},
|
|
982
985
|
{
|
|
983
986
|
url: "https://example.com/login",
|
|
984
987
|
alternates: {
|
|
985
|
-
languages: {
|
|
988
|
+
languages: {
|
|
989
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
990
|
+
"x-default": "https://example.com/login",
|
|
991
|
+
},
|
|
986
992
|
},
|
|
987
993
|
},
|
|
988
994
|
{
|
|
989
995
|
url: "https://example.com/register",
|
|
990
996
|
alternates: {
|
|
991
|
-
languages: {
|
|
997
|
+
languages: {
|
|
998
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
999
|
+
"x-default": "https://example.com/register",
|
|
1000
|
+
},
|
|
992
1001
|
},
|
|
993
1002
|
},
|
|
994
1003
|
];
|
|
@@ -1003,19 +1012,28 @@ const sitemap = () => [
|
|
|
1003
1012
|
{
|
|
1004
1013
|
url: "https://example.com",
|
|
1005
1014
|
alternates: {
|
|
1006
|
-
languages: {
|
|
1015
|
+
languages: {
|
|
1016
|
+
...getMultilingualUrls("https://example.com"),
|
|
1017
|
+
"x-default": "https://example.com",
|
|
1018
|
+
},
|
|
1007
1019
|
},
|
|
1008
1020
|
},
|
|
1009
1021
|
{
|
|
1010
1022
|
url: "https://example.com/login",
|
|
1011
1023
|
alternates: {
|
|
1012
|
-
languages: {
|
|
1024
|
+
languages: {
|
|
1025
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1026
|
+
"x-default": "https://example.com/login",
|
|
1027
|
+
},
|
|
1013
1028
|
},
|
|
1014
1029
|
},
|
|
1015
1030
|
{
|
|
1016
1031
|
url: "https://example.com/register",
|
|
1017
1032
|
alternates: {
|
|
1018
|
-
languages: {
|
|
1033
|
+
languages: {
|
|
1034
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1035
|
+
"x-default": "https://example.com/register",
|
|
1036
|
+
},
|
|
1019
1037
|
},
|
|
1020
1038
|
},
|
|
1021
1039
|
];
|
|
@@ -1030,19 +1048,28 @@ const sitemap = () => [
|
|
|
1030
1048
|
{
|
|
1031
1049
|
url: "https://example.com",
|
|
1032
1050
|
alternates: {
|
|
1033
|
-
languages: {
|
|
1051
|
+
languages: {
|
|
1052
|
+
...getMultilingualUrls("https://example.com"),
|
|
1053
|
+
"x-default": "https://example.com",
|
|
1054
|
+
},
|
|
1034
1055
|
},
|
|
1035
1056
|
},
|
|
1036
1057
|
{
|
|
1037
1058
|
url: "https://example.com/login",
|
|
1038
1059
|
alternates: {
|
|
1039
|
-
languages: {
|
|
1060
|
+
languages: {
|
|
1061
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1062
|
+
"x-default": "https://example.com/login",
|
|
1063
|
+
},
|
|
1040
1064
|
},
|
|
1041
1065
|
},
|
|
1042
1066
|
{
|
|
1043
1067
|
url: "https://example.com/register",
|
|
1044
1068
|
alternates: {
|
|
1045
|
-
languages: {
|
|
1069
|
+
languages: {
|
|
1070
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1071
|
+
"x-default": "https://example.com/register",
|
|
1072
|
+
},
|
|
1046
1073
|
},
|
|
1047
1074
|
},
|
|
1048
1075
|
];
|
|
@@ -1038,19 +1038,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
1038
1038
|
{
|
|
1039
1039
|
url: "https://example.com",
|
|
1040
1040
|
alternates: {
|
|
1041
|
-
languages: {
|
|
1041
|
+
languages: {
|
|
1042
|
+
...getMultilingualUrls("https://example.com"),
|
|
1043
|
+
"x-default": "https://example.com",
|
|
1044
|
+
},
|
|
1042
1045
|
},
|
|
1043
1046
|
},
|
|
1044
1047
|
{
|
|
1045
1048
|
url: "https://example.com/login",
|
|
1046
1049
|
alternates: {
|
|
1047
|
-
languages: {
|
|
1050
|
+
languages: {
|
|
1051
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1052
|
+
"x-default": "https://example.com/login",
|
|
1053
|
+
},
|
|
1048
1054
|
},
|
|
1049
1055
|
},
|
|
1050
1056
|
{
|
|
1051
1057
|
url: "https://example.com/register",
|
|
1052
1058
|
alternates: {
|
|
1053
|
-
languages: {
|
|
1059
|
+
languages: {
|
|
1060
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1061
|
+
"x-default": "https://example.com/register",
|
|
1062
|
+
},
|
|
1054
1063
|
},
|
|
1055
1064
|
},
|
|
1056
1065
|
];
|
|
@@ -1065,19 +1074,28 @@ const sitemap = () => [
|
|
|
1065
1074
|
{
|
|
1066
1075
|
url: "https://example.com",
|
|
1067
1076
|
alternates: {
|
|
1068
|
-
languages: {
|
|
1077
|
+
languages: {
|
|
1078
|
+
...getMultilingualUrls("https://example.com"),
|
|
1079
|
+
"x-default": "https://example.com",
|
|
1080
|
+
},
|
|
1069
1081
|
},
|
|
1070
1082
|
},
|
|
1071
1083
|
{
|
|
1072
1084
|
url: "https://example.com/login",
|
|
1073
1085
|
alternates: {
|
|
1074
|
-
languages: {
|
|
1086
|
+
languages: {
|
|
1087
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1088
|
+
"x-default": "https://example.com/login",
|
|
1089
|
+
},
|
|
1075
1090
|
},
|
|
1076
1091
|
},
|
|
1077
1092
|
{
|
|
1078
1093
|
url: "https://example.com/register",
|
|
1079
1094
|
alternates: {
|
|
1080
|
-
languages: {
|
|
1095
|
+
languages: {
|
|
1096
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1097
|
+
"x-default": "https://example.com/register",
|
|
1098
|
+
},
|
|
1081
1099
|
},
|
|
1082
1100
|
},
|
|
1083
1101
|
];
|
|
@@ -1093,19 +1111,28 @@ const sitemap = () => [
|
|
|
1093
1111
|
{
|
|
1094
1112
|
url: "https://example.com",
|
|
1095
1113
|
alternates: {
|
|
1096
|
-
languages: {
|
|
1114
|
+
languages: {
|
|
1115
|
+
...getMultilingualUrls("https://example.com"),
|
|
1116
|
+
"x-default": "https://example.com",
|
|
1117
|
+
},
|
|
1097
1118
|
},
|
|
1098
1119
|
},
|
|
1099
1120
|
{
|
|
1100
1121
|
url: "https://example.com/login",
|
|
1101
1122
|
alternates: {
|
|
1102
|
-
languages: {
|
|
1123
|
+
languages: {
|
|
1124
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1125
|
+
"x-default": "https://example.com/login",
|
|
1126
|
+
},
|
|
1103
1127
|
},
|
|
1104
1128
|
},
|
|
1105
1129
|
{
|
|
1106
1130
|
url: "https://example.com/register",
|
|
1107
1131
|
alternates: {
|
|
1108
|
-
languages: {
|
|
1132
|
+
languages: {
|
|
1133
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1134
|
+
"x-default": "https://example.com/register",
|
|
1135
|
+
},
|
|
1109
1136
|
},
|
|
1110
1137
|
},
|
|
1111
1138
|
];
|
|
@@ -1021,19 +1021,28 @@ const sitemap = (): MetadataRoute.Sitemap => [
|
|
|
1021
1021
|
{
|
|
1022
1022
|
url: "https://example.com",
|
|
1023
1023
|
alternates: {
|
|
1024
|
-
languages: {
|
|
1024
|
+
languages: {
|
|
1025
|
+
...getMultilingualUrls("https://example.com"),
|
|
1026
|
+
"x-default": "https://example.com",
|
|
1027
|
+
},
|
|
1025
1028
|
},
|
|
1026
1029
|
},
|
|
1027
1030
|
{
|
|
1028
1031
|
url: "https://example.com/login",
|
|
1029
1032
|
alternates: {
|
|
1030
|
-
languages: {
|
|
1033
|
+
languages: {
|
|
1034
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1035
|
+
"x-default": "https://example.com/login",
|
|
1036
|
+
},
|
|
1031
1037
|
},
|
|
1032
1038
|
},
|
|
1033
1039
|
{
|
|
1034
1040
|
url: "https://example.com/register",
|
|
1035
1041
|
alternates: {
|
|
1036
|
-
languages: {
|
|
1042
|
+
languages: {
|
|
1043
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1044
|
+
"x-default": "https://example.com/register",
|
|
1045
|
+
},
|
|
1037
1046
|
},
|
|
1038
1047
|
},
|
|
1039
1048
|
];
|
|
@@ -1048,19 +1057,28 @@ const sitemap = () => [
|
|
|
1048
1057
|
{
|
|
1049
1058
|
url: "https://example.com",
|
|
1050
1059
|
alternates: {
|
|
1051
|
-
languages: {
|
|
1060
|
+
languages: {
|
|
1061
|
+
...getMultilingualUrls("https://example.com"),
|
|
1062
|
+
"x-default": "https://example.com",
|
|
1063
|
+
},
|
|
1052
1064
|
},
|
|
1053
1065
|
},
|
|
1054
1066
|
{
|
|
1055
1067
|
url: "https://example.com/login",
|
|
1056
1068
|
alternates: {
|
|
1057
|
-
languages: {
|
|
1069
|
+
languages: {
|
|
1070
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1071
|
+
"x-default": "https://example.com/login",
|
|
1072
|
+
},
|
|
1058
1073
|
},
|
|
1059
1074
|
},
|
|
1060
1075
|
{
|
|
1061
1076
|
url: "https://example.com/register",
|
|
1062
1077
|
alternates: {
|
|
1063
|
-
languages: {
|
|
1078
|
+
languages: {
|
|
1079
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1080
|
+
"x-default": "https://example.com/register",
|
|
1081
|
+
},
|
|
1064
1082
|
},
|
|
1065
1083
|
},
|
|
1066
1084
|
];
|
|
@@ -1075,19 +1093,28 @@ const sitemap = () => [
|
|
|
1075
1093
|
{
|
|
1076
1094
|
url: "https://example.com",
|
|
1077
1095
|
alternates: {
|
|
1078
|
-
languages: {
|
|
1096
|
+
languages: {
|
|
1097
|
+
...getMultilingualUrls("https://example.com"),
|
|
1098
|
+
"x-default": "https://example.com",
|
|
1099
|
+
},
|
|
1079
1100
|
},
|
|
1080
1101
|
},
|
|
1081
1102
|
{
|
|
1082
1103
|
url: "https://example.com/login",
|
|
1083
1104
|
alternates: {
|
|
1084
|
-
languages: {
|
|
1105
|
+
languages: {
|
|
1106
|
+
...getMultilingualUrls("https://example.com/login"),
|
|
1107
|
+
"x-default": "https://example.com/login",
|
|
1108
|
+
},
|
|
1085
1109
|
},
|
|
1086
1110
|
},
|
|
1087
1111
|
{
|
|
1088
1112
|
url: "https://example.com/register",
|
|
1089
1113
|
alternates: {
|
|
1090
|
-
languages: {
|
|
1114
|
+
languages: {
|
|
1115
|
+
...getMultilingualUrls("https://example.com/register"),
|
|
1116
|
+
"x-default": "https://example.com/register",
|
|
1117
|
+
},
|
|
1091
1118
|
},
|
|
1092
1119
|
},
|
|
1093
1120
|
];
|