This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
4b126cc336
rsnext
/
examples
/
with-i18n-rosetta
/
next.config.js
12 lines
152 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Rosetta i18n example (#11841) * add rosetta example * add comment * add example for ssr * add debug example, rerender when i18n keys are added * output active locale, fix interpolation, fix cases for SSR and CSR * add useful comments * address pr issues * update name in readme * improve wording * rename folder * fix prop typo, add redirects * load specific i18n json file in getStatisProps Dashboard dont use any ssr technique * use ext * improve example * Updated example Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-21 19:49:18 +02:00
module
.
exports
=
{
De-experimentalize redirects for rosetta example (#15554) Fixes #15552
2020-07-28 10:36:34 +02:00
redirects
(
)
{
return
[
{
source
:
'/'
,
destination
:
'/en'
,
permanent
:
true
,
}
,
]
Rosetta i18n example (#11841) * add rosetta example * add comment * add example for ssr * add debug example, rerender when i18n keys are added * output active locale, fix interpolation, fix cases for SSR and CSR * add useful comments * address pr issues * update name in readme * improve wording * rename folder * fix prop typo, add redirects * load specific i18n json file in getStatisProps Dashboard dont use any ssr technique * use ext * improve example * Updated example Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-21 19:49:18 +02:00
}
,
}
Reference in a new issue
Copy permalink