Skip to content

Commit f56d026

Browse files
authored
readme: add tip about how to build in other languages
1 parent af21ce1 commit f56d026

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ yarn dev
9696
- Pro Tip:
9797
- Explore scripts within `package.json` for more build options
9898
- Get **faster** production builds by building only one language. E.g. in your `.env` file, set `BUILD_LOCALES=en` to build the content only in English
99+
- To build the site in other languages too, you need to set them in `BUILD_LOCALES`, eg: `` BUILD_LOCALES=`en,es` `` if you also want to include Spanish
99100

100101
By default the script will build all the languages (complete list in `i18n.config.json`).
101102

0 commit comments

Comments
 (0)