Skip to content

Commit 8ade5b9

Browse files
committed
update README.md
1 parent 33c6877 commit 8ade5b9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

i18n/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,23 @@ DOCUSUARUS_LOCALE=jp yarn build
133133

134134
This allows each language to be deployed independently.
135135

136-
Ensure you only build if the languages folder changes e.g.
136+
Ensure you only build if the languages folder or the docusaurus config file
137+
changes e.g.
137138

138139
```text
139140
git diff HEAD^ HEAD --quiet -- ./i18n/jp && git diff HEAD^ HEAD --quiet -- docusaurus.config.jp.js && exit 0 || exit 1
140141
```
141142

142143
Example [here](https://vercel.com/clickhouse/clickhouse-docs-jp/settings/git).
143144

145+
**Note:** Only your last commit is checked, so if you make commits which don't
146+
touch those folders, you'll need to make a change in the appropriate i18n folder
147+
or the config file for translations to be deployed.
148+
149+
There is a `README.md` file in each `i18n/locale` folder for this purpose.
150+
Simply change the date in that file and commit the changes to get the translations
151+
to redeploy on vercel.
152+
144153
9. Add the route to the website worker - [example PR](https://github.com/ClickHouse/clickhouse-website-worker/pull/285/files)
145154

146155
## Known issues

0 commit comments

Comments
 (0)