2023-09-10 18:26:12 +00:00
|
|
|
# [tjo.space](https://tjo.space)
|
2023-09-10 16:01:52 +00:00
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
### Development
|
2023-09-10 16:01:52 +00:00
|
|
|
|
|
|
|
```
|
2023-09-10 18:24:56 +00:00
|
|
|
$ npm install
|
|
|
|
$ npm start
|
2023-09-10 16:01:52 +00:00
|
|
|
```
|
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
### Translation
|
|
|
|
1. Generate default locale (english) text to be translated.
|
2023-09-10 16:01:52 +00:00
|
|
|
|
|
|
|
```
|
2023-09-10 18:24:56 +00:00
|
|
|
$ npm install
|
|
|
|
$ npm run write-translations
|
2023-09-10 16:01:52 +00:00
|
|
|
```
|
|
|
|
|
2023-09-10 18:24:56 +00:00
|
|
|
2. You can now edit the `i18n/sl` translations. (todo: not sure how this works yet)
|