You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* - `"pathname": The strategy is applied to the pathname of the URLs
1570
1569
*/
1571
1570
strategy?: 'pathname';
1572
-
}|
1573
-
/**
1574
-
*
1575
-
* @docs
1576
-
* @name i18n.routing.manual
1577
-
* @kind h4
1578
-
* @type {string}
1579
-
* @version 4.6.0
1580
-
* @description
1581
-
* When this option is enabled, Astro will **disable** its i18n middleware so that you can implement your own custom logic. No other `routing` options (e.g. `prefixDefaultLocale`) may be configured with `routing: "manual"`.
1582
-
*
1583
-
* You will be responsible for writing your own routing logic, or executing Astro's i18n middleware manually alongside your own.
1584
-
*
1585
-
* ```js
1586
-
* export default defineConfig({
1587
-
* i18n: {
1588
-
* defaultLocale: "en",
1589
-
* locales: ["en", "fr", "pt-br", "es"],
1590
-
* routing: {
1591
-
* prefixDefaultLocale: true,
1592
-
* }
1593
-
* }
1594
-
* })
1595
-
* ```
1596
-
*/
1597
-
'manual';
1571
+
}
1572
+
/**
1573
+
*
1574
+
* @docs
1575
+
* @name i18n.routing.manual
1576
+
* @kind h4
1577
+
* @type {string}
1578
+
* @version 4.6.0
1579
+
* @description
1580
+
* When this option is enabled, Astro will **disable** its i18n middleware so that you can implement your own custom logic. No other `routing` options (e.g. `prefixDefaultLocale`) may be configured with `routing: "manual"`.
1581
+
*
1582
+
* You will be responsible for writing your own routing logic, or executing Astro's i18n middleware manually alongside your own.
0 commit comments