Skip to content

Commit 719d238

Browse files
authored
Support community translators with documentation, etc (#6681)
1 parent 586bfd8 commit 719d238

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Translation issue
3+
about: Report a poor translation, poor source content, or ask for more
4+
information when making a translation
5+
6+
---
7+
8+
<!-- Uncomment the section most relevant to your issue -->
9+
10+
<!--## Incorrect or suboptimal translation -->
11+
<!--
12+
If you've found an incorrect or suboptimal translation and have a suggestion
13+
on how to make it better, please visit
14+
https://hosted.weblate.org/projects/pypa/warehouse/
15+
to edit and/or comment on the translation
16+
-->
17+
18+
<!-- ## Bad source in Weblate -->
19+
<!--
20+
If you're translating PyPI and found a string that is either poorly
21+
written or formatted, report it here.
22+
Please include:
23+
- a link to the source string (found in the Weblate sidebar)
24+
- a description of the problem
25+
-->
26+
27+
<!-- ## More information needed to translate effectively -->
28+
<!--
29+
If you're translating PyPI and need more information about a string to
30+
write a good translation, let us know.
31+
Please include:
32+
- a link to the source string (found in the Weblate sidebar)
33+
- a description of the problem and what additional information you need
34+
-->

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Contents:
1111
api-reference/index
1212
ui-principles
1313
security
14+
translations
1415
roadmap
1516

1617
Warehouse is a `web application`_ that implements the canonical

docs/translations.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Translations
2+
============
3+
4+
We use `Weblate <https://weblate.org/>`_ to manage PyPI translations. Visit the
5+
`Warehouse project on Weblate <https://hosted.weblate.org/projects/pypa/warehouse/>`_
6+
to contribute.
7+
8+
If you are experiencing issues as a translator, please let us know by opening a
9+
`translation issue on the Warehouse issue tracker <https://github.com/pypa/warehouse/issues/new?template=translation-issue.md>`_.

warehouse/templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ <h2>{% trans %}Contributing to PyPI{% endtrans %}</h2>
283283
<ul>
284284
<li><a href="{{ request.route_path('help')}}#feedback">{% trans %}Bugs and feedback{% endtrans %}</a></li>
285285
<li><a href="https://github.com/pypa/warehouse" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Contribute on GitHub{% endtrans %}</a></li>
286+
<li><a href="https://hosted.weblate.org/projects/pypa/warehouse/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Translate PyPI{% endtrans %}</a></li>
286287
<li><a href="https://github.com/pypa/warehouse/graphs/contributors" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Development credits{% endtrans %}</a></li>
287288
</ul>
288289
</nav>

0 commit comments

Comments
 (0)