##// END OF EJS Templates
backport fix...
backport fix fixed password refill in login form when wrong password was given It's better to not refill the passwords on wrong credentials given. Standard behaviour on all pages are making the password blank

File last commit:

r3934:eabb273b beta
r4104:360f3185 default
Show More
how_to
67 lines | 1.7 KiB | text/plain | TextLexer
refreshed how_to on translations
r1225 ##########################
# to create new language #
##########################
renamed project to rhodecode
r547
Updated translations how_to
r3933 Translations are available on transifex under::
updated translations and added transifex link
r3925
https://www.transifex.com/projects/p/RhodeCode/
Updated translations how_to
r3933 Preferred method is to register on transifex and request new language translation.
refreshed how_to on translations
r1225
Updated translations how_to
r3933 manual creation of new language
+++++++++++++++++++++++++++++++
Dowload sources of RhodeCode. Run::
refreshed how_to on translations
r1225
Updated translations how_to
r3933 python setup.py develop
To prepare the enviroment
refreshed how_to on translations
r1225
Updated translations how_to
r3933 Make sure all translation strings are extracted by running::
python setup.py extract_messages
Create new language by executing following command::
python setup.py init_catalog -l <new_language_code>
This creates a new language under directory rhodecode/i18n/<new_language_code>
Be sure to update transifex mapping under .tx/config for new language
Edit the new PO file located in LC_MESSAGES directory with poedit or your
favorite PO files editor. Do translations and at the end verify the translation
file for any errors. This can be done by executing::
msgfmt -f -c rhodecode/i18n/<new_language_code>/LC_MESSAGES/<updated_file.po>
finally compile the translations::
python setup.py compile_catalog -l <new_language_code>
##########################
# to update translations #
##########################
refreshed how_to on translations
r1225
Updated translations how_to
r3933 Fetch latest version of strings for translation by running::
python setup.py extract_messages
Update PO file by doing::
fix typo
r3934 python setup.py update_catalog -l <new_language_code><- to update the translations
Updated translations how_to
r3933
Edit the new updated po file. Repeat all steps after `init_catalog` step from
new translation instructions
refreshed how_to on translations
r1225
Updated translations how_to
r3933 ########################
# testing translations #
########################
Edit test.ini file and set lang attribute to::
lang=<new_language_code>
Run RhodeCode tests by executing::
nosetests