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
Copy file name to clipboardExpand all lines: translation/README.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,45 @@ You need to specify `REVIEW_LANG` environment variable to what you want, choosin
53
53
$ REVIEW_LANG=en ./build-in-docker-epub.sh
54
54
```
55
55
56
+
#### Building other than English version
57
+
58
+
You need to create/modify some config files.
59
+
60
+
Inside `article` folder, copy `config-epub-en.yml` to `config-epub-{lang}.yml`.
61
+
Open it and modify `language` and `contentdir`.
62
+
63
+
```
64
+
langueage: {lang}
65
+
contentdir: text_{lang}
66
+
```
67
+
68
+
Then modiy `locale.yml` like following.
69
+
70
+
```
71
+
locale: ko
72
+
image: 그림
73
+
table: 표
74
+
list: "리스트 "
75
+
equation: "식 "
76
+
column: "열 %s"
77
+
columnname: "열"
78
+
column_head: "열"
79
+
part: 제%pR부
80
+
part_short: "%pR"
81
+
chapter: 제%d장
82
+
...
83
+
```
84
+
85
+
Full sample is [here](https://github.com/kmuto/review/blob/master/lib/review/i18n.yml).
86
+
87
+
88
+
If you have any trouble with PDF font, you may need to add following line to `articles/sty/review-custom.sty` after final usepackage command.
89
+
We are not sure about any other than Japanese, please solve the issue by yourself.
90
+
91
+
```
92
+
\usepackage[korean]{pxbabel}
93
+
```
94
+
56
95
## Developing
57
96
58
97
Since this book is written by [Re:VIEW format](https://github.com/kmuto/review/blob/master/doc/format.md), we need to exlude Re:VIEW tags from translation.
0 commit comments