Skip to content

Commit dba36fa

Browse files
committed
Enable translation support for Chinese, German, and Ukrainian
1 parent b666b10 commit dba36fa

File tree

7 files changed

+10
-1
lines changed

7 files changed

+10
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<a href="https://github.com/netbox-community/netbox/blob/master/LICENSE.txt"><img src="https://img.shields.io/badge/license-Apache_2.0-blue.svg" alt="License" /></a>
66
<a href="https://github.com/netbox-community/netbox/graphs/contributors"><img src="https://img.shields.io/github/contributors/netbox-community/netbox?color=blue" alt="Contributors" /></a>
77
<a href="https://github.com/netbox-community/netbox/stargazers"><img src="https://img.shields.io/github/stars/netbox-community/netbox?style=flat" alt="GitHub stars" /></a>
8-
<a href="https://explore.transifex.com/netbox-community/netbox/"><img src="https://img.shields.io/badge/languages-7-blue" alt="Languages supported" /></a>
8+
<a href="https://explore.transifex.com/netbox-community/netbox/"><img src="https://img.shields.io/badge/languages-10-blue" alt="Languages supported" /></a>
99
<a href="https://github.com/netbox-community/netbox/actions/workflows/ci.yml"><img src="https://github.com/netbox-community/netbox/workflows/CI/badge.svg?branch=master" alt="CI status" /></a>
1010
<p></p>
1111
</div>

docs/release-notes/version-4.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## v4.0.3 (FUTURE)
44

5+
### Enhancements
6+
7+
* [#14639](https://github.com/netbox-community/netbox/issues/14639) - Add Ukrainian translation support
8+
* [#14686](https://github.com/netbox-community/netbox/issues/14686) - Add German translation support
9+
* [#14855](https://github.com/netbox-community/netbox/issues/14855) - Add Chinese translation support
10+
511
---
612

713
## v4.0.2 (2024-05-14)

netbox/netbox/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,13 +712,16 @@ def _setting(name, default=None):
712712

713713
# Supported translation languages
714714
LANGUAGES = (
715+
('de', _('German')),
715716
('en', _('English')),
716717
('es', _('Spanish')),
717718
('fr', _('French')),
718719
('ja', _('Japanese')),
719720
('pt', _('Portuguese')),
720721
('ru', _('Russian')),
721722
('tr', _('Turkish')),
723+
('uk', _('Ukrainian')),
724+
('zh', _('Chinese')),
722725
)
723726
LOCALE_PATHS = (
724727
BASE_DIR + '/translations',
216 KB
Binary file not shown.
-6 Bytes
Binary file not shown.
269 KB
Binary file not shown.
195 KB
Binary file not shown.

0 commit comments

Comments
 (0)