Customisation files for gitea instance at git.friendi,ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tobias Diekershoff 1857e01769 Merge branch '20190311-engb2' of tobias/ into master 5 months ago
custom update of the home template with EN GB 5 months ago
lang added EN GB translation THX Andy H3 5 months ago some additions to the README and the python script 1 year ago added EN GB translation to template generator 5 months ago

Custom files for

These files are the cutsom files for They are overriding the default template files of gitea. The content of custom needs to be placed in /var/lib/gitea (at least at


Translation of the strings can be done at Transifex with the rest of the project resources.


  1. Update the strings at the top of the file, those that start with a str_ in the name.
  2. Extract them with pygettext -p ./lang/C/
  3. Commit the new messages.pot file and push it to the repository at
  4. Wait for Transifex to pick up the changes and the translation teams to make the new translations
  5. Download the finished translations to lang/$lngcode/LC_MESSAGES/messages.pot
  6. Edit the messages.pot file and set the characterset to UTF-8. "Content-Type: text/plain; charset=UTF-8\n"
  7. Convert the messages.pot file to using msgfmt messages.pot
  8. Run python3 it will recreate the custom/templates/home.tmpl file
  9. Upload that file and copy it to the custom/templates/ directory of the gitea instance.


The python script to generate the template file has been released under the terms of the MIT license.