mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 13:11:56 +00:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 Mojib Wali.
|
|
#
|
|
# invenio-config-tugraz is free software; you can redistribute it and/or
|
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
|
# details.
|
|
|
|
# TODO: Transifex integration
|
|
#
|
|
# 1) Create message catalog:
|
|
# $ python setup.py extract_messages
|
|
# $ python setup.py init_catalog -l <lang>
|
|
# $ python setup.py compile_catalog
|
|
# 2) Ensure project has been created on Transifex under the inveniosoftware
|
|
# organisation.
|
|
# 3) Install the transifex-client
|
|
# $ pip install transifex-client
|
|
# 4) Push source (.pot) and translations (.po) to Transifex
|
|
# $ tx push -s -t
|
|
# 5) Pull translations for a single language from Transifex
|
|
# $ tx pull -l <lang>
|
|
# 6) Pull translations for all languages from Transifex
|
|
# $ tx pull -a
|
|
|
|
[main]
|
|
host = https://www.transifex.com
|
|
|
|
[invenio.invenio-config-tugraz-messages]
|
|
file_filter = invenio_config_tugraz/translations/<lang>/LC_MESSAGES/messages.po
|
|
source_file = invenio_config_tugraz/translations/messages.pot
|
|
source_lang = en
|
|
type = PO
|