Skip to content

Commit

Permalink
Note about transifex translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Jan 31, 2017
1 parent e013d7f commit 3569690
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,31 @@ class MyHook
}
}
```


## Note to self

Updating language files:

Generating the `en` base folder:
```
$ ./vendor/bin/ctb to-xliff
```

Pushing `en` to transifex:

```
$ ./vendor/bin/ctb download-transifex en
```

Downloading translations:

```
$ ./vendor/bin/ctb download-transifex --mode=translated
```

Storing the language files:

```
$ ./vendor/bin/ctb from-xliff
```
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"codefog/contao-haste":"^4.10.0",
"terminal42/dcawizard":"2.*"
},
"require-dev": {
"cyberspectrum/contao-toolbox": "^0.7.2"
},
"autoload":{
"psr-0": {
"NotificationCenter\\": [
Expand Down

0 comments on commit 3569690

Please sign in to comment.