annotate rhodecode/i18n/how_to @ 2105:926f55b038bc beta

added initial rc-extension module - possible to store additional mappings for stats - possible to overwrite and add to whoosh index extensions issue #322 - post create repo hook callback - post push/pull hooks callback
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 06 Mar 2012 23:03:10 +0200
parents 357b0c18f844
children 4857ed50f498
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
1 ##########################
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
2 # to create new language #
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
3 ##########################
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
4
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
5 #this needs to be done on source codes, preferable default/stable branches
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
6
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
7 python setup.py extract_messages -> get messages from project
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
8 python setup.py init_catalog -l pl -> create a language directory for <pl> lang
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
9 edit the new po file with poedit or any other editor
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
10 python setup.py compile_catalog -> create translation files
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
11
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
12 #############
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
13 # to update #
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
14 #############
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
15
0
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
16 python setup.py extract_messages -> get messages from project
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
17 python setup.py update_catalog -> to update the translations
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
18 edit the new updated po file with poedit
564e40829f80 initial commit.
Marcin Kuzminski
parents:
diff changeset
19 python setup.py compile_catalog -> create translation files
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
20
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
21
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
22 ###################
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
23 # change language #
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
24 ###################
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
25
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
26 `lang=en`
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
27
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
28 in the .ini file