annotate rhodecode/i18n/how_to @ 2986:f8d827686e9a beta

fixed missing permission for being able to write to group on repository settings ref #468
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 06 Nov 2012 21:58:29 +0100
parents 4857ed50f498
children b2332bfb61de
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
2577
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
7 python setup.py extract_messages <- get messages from project
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
8 python setup.py init_catalog -l pl <- create a language directory for <pl> lang
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
9 #edit the new po file with poedit or any other editor
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
10 msgfmt -f -c <updated_file.po> <- check format and errors
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
11 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
12
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
13 #############
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
14 # to update #
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
15 #############
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
16
2577
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
17 python setup.py extract_messages <- get messages from project
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
18 python setup.py update_catalog <- to update the translations
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
19 #edit the new updated po file with poedit
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
20 msgfmt -f -c <updated_file.po> <- check format and errors
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
21 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
22
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
23
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 # change language #
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
26 ###################
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
27
2577
4857ed50f498 added format check command into i18n how_to
Marcin Kuzminski <marcin@python-works.com>
parents: 1225
diff changeset
28 `lang=pl`
1225
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
29
357b0c18f844 refreshed how_to on translations
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
30 in the .ini file