How to add multiple languages to your application.
web
package to:
/en/about
, /fr/about
).env
file in the internationalization
package and set the LANGUINE_PROJECT_ID
environment variable.
LANGUINE_PROJECT_ID
environment variable in this case.languine.json
file that defines:
en
)["es", "de"]
)dictionaries
folder.
web
package:
locale
parameter in the URL. For example, https://example.com/en/about
will render the about
page in English.
We’ve already configured the web
package with a language switcher, so you don’t need to worry about it.
web
package, so you don’t need to worry about it.