mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-02 02:54:33 +12:00
Updated Translate Manuskript (markdown)
parent
e8c8cf70e1
commit
c9163c8d63
|
@ -13,21 +13,21 @@ Right now, manuskript is written in *English*, and translated in *French*, *Span
|
|||
|
||||
## Ways to add a new language
|
||||
|
||||
### 1. Request it
|
||||
|
||||
Simply [request it by creating a new issue](https://github.com/olivierkes/manuskript/issues). We will then generate the empty language file and send it to you. You can translate it following instructions below.
|
||||
|
||||
### 2. Add it yourself
|
||||
### 1. Add it yourself
|
||||
|
||||
1. Clone manuskript repo, making sure you're in the `develop` branch. (See [Install Source Code in the wiki](https://github.com/olivierkes/manuskript/wiki))
|
||||
|
||||
2. Edit `i18n/manuskript.pro` and add `TRANSLATIONS += manuskript_XX.ts` at the very end, replacing `XX` with your language.
|
||||
2. Edit `i18n/manuskript.pro` and add `TRANSLATIONS += manuskript_XX.ts` at the very end, replacing `XX` with your language. (`xx_XX` in case of language specification, like `pt_BR`)
|
||||
|
||||
3. Run `pylupdate5 -noobsolete i18n/manuskript.pro`
|
||||
|
||||
This will generate a `.ts` file in `i18n` folder, that you can translate using Qt Linguist, see below.
|
||||
`pylupdate5` is part of [PyQt5's tools](http://pyqt.sourceforge.net/Docs/PyQt5/i18n.html).
|
||||
|
||||
### 2. Or request it
|
||||
|
||||
Simply [request it by creating a new issue](https://github.com/olivierkes/manuskript/issues). We will then generate the empty language file and send it to you. You can translate it following instructions below.
|
||||
|
||||
# B. Update existing translation
|
||||
|
||||
If you want to update an existing translation (for example because new features have been added that need translation, or because you want to correct mistakes), then:
|
||||
|
|
Loading…
Reference in a new issue