summary refs log tree commit diff stats
path: root/.tx/howto.txt
blob: 213cd3e7d530e67422bba9aac7eb3ec1c3ba18bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
More info: http://help.transifex.com/features/client/index.html

1) To initialize a new project on Transifex:

# tx init
# tx set --auto-local -r hexchat.main "po\<lang>.po" --source-lang en --source-file po\hexchat.pot --execute

Append 'type = PO' to .tx\config without apostrophes

Push the resources to Transifex
# tx push --source --translation



2) To update online translations:

Regenerate the source file (hexchat.pot) on a Unix machine
# rm po/hexchat.pot && ./autogen.sh && ./configure --enable-nls && make

Push the updated source file to Transifex (this automatically updates all translation files)
# tx push --source



3) To update repo with online translations:

Update local copy with Transifex updates
# tx pull

Update GitHub repo
# git add po/
# git commit
# git push



4) To update just one translation with local changes:

# tx push --translation --language xy

Where xy is the language code