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.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
### Preparation
6
6
7
7
1. Fork [thinreports/thinreports-editor](https://github.com/thinreports/thinreports-editor) on github
8
-
2. Clone your forked repository (**Note:**[How to clone the source of the Editor](https://github.com/thinreports/thinreports-editor#how-to-clone-the-source-of-the-editor))
8
+
2. Clone your forked repository
9
9
3. Create your locale branch: `git checkout -b new-locale`
10
10
11
11
### Creating a Translation file
@@ -43,7 +43,7 @@ Translate in your language:
43
43
}
44
44
```
45
45
46
-
### Enabling your language
46
+
### Add your language
47
47
48
48
Modify the your `app/index.html` as follows:
49
49
@@ -60,19 +60,18 @@ Modify the your `app/index.html` as follows:
60
60
:
61
61
```
62
62
63
-
### Check the translations on Editor to switch to your language
63
+
### Check your language
64
64
65
-
1. Launch the Editor with referring to [How to launch development version of the Editor](https://github.com/thinreports/thinreports-editor#how-to-launch-development-version-of-the-editor)
65
+
1. Launch the Editor (See: [Development Tasks](https://github.com/thinreports/thinreports-editor#tasks))
66
+
```
67
+
$ npm start
68
+
```
66
69
2. Open the preference dialog
67
70
(You can find the preference button on the right side of the toolbar)
68
71
3. Select your language, press the OK button to apply
69
72
70
-
## How to send us your translation file
71
-
72
-
### Pull request
73
+
## Send your translation file
73
74
74
-
1. See [Preparation](https://github.com/thinreports/thinreports-editor/blob/master/TRANSLATION.md#preparation)
75
-
2. Add your translation file and add your translation file path in `app.html`
76
-
3. Commit: `git commit -am 'added xx locale'`
77
-
4. Push to the branch: `git push origin new-locale`
78
-
5. Create new pull request
75
+
1. Commit: `git commit -am 'added xx locale'`
76
+
2. Push to your branch: `git push origin new-locale`
0 commit comments