Add Chinese translation #9112

Closed
opened 2025-12-29 20:45:35 +01:00 by adam · 13 comments
Owner

Originally created by @amilys on GitHub (Jan 19, 2024).

Originally assigned to: @jeremystretch on GitHub.

Language

Chinese

ISO 639-1 code

zh

Volunteer

Yes

Comments

No response

Originally created by @amilys on GitHub (Jan 19, 2024). Originally assigned to: @jeremystretch on GitHub. ### Language Chinese ### ISO 639-1 code zh ### Volunteer Yes ### Comments _No response_
adam added the status: acceptedtype: translation labels 2025-12-29 20:45:35 +01:00
adam closed this issue 2025-12-29 20:45:36 +01:00
Author
Owner

@KongNan commented on GitHub (Jan 19, 2024):

Please allow us to contribute to the Chinese translation! 中文翻译
https://github.com/netbox-community/netbox/discussions/14815

@KongNan commented on GitHub (Jan 19, 2024): Please allow us to contribute to the Chinese translation! 中文翻译 https://github.com/netbox-community/netbox/discussions/14815
Author
Owner

@jeffgdotorg commented on GitHub (Jan 19, 2024):

Thank you for your interest in helping translate NetBox to Chinese! We're eager to support as many languages as possible, and it's fantastic that you've indicated a willingness to bring your own skills to bear on the effort.

Please be patient as we sort out our a repeatable process for bringing new translation projects online in the third-party translation platform that we use for this work. When we're ready to start work on this translation, we will contact you via this issue with instructions on how to move forward.

@jeffgdotorg commented on GitHub (Jan 19, 2024): Thank you for your interest in helping translate NetBox to Chinese! We're eager to support as many languages as possible, and it's fantastic that you've indicated a willingness to bring your own skills to bear on the effort. Please be patient as we sort out our a repeatable process for bringing new translation projects online in the third-party translation platform that we use for this work. When we're ready to start work on this translation, we will contact you via this issue with instructions on how to move forward.
Author
Owner

@amilys commented on GitHub (Jan 20, 2024):

Please allow us to contribute to the Chinese translation! 中文翻译 #14815

#14877
image

我已经提交部分中文翻译,你可以复制netbox/translations/zh/LC_MESSAGES/django.ponetbox/translations/en/LC_MESSAGES/django.po
然后执行以下命令来使用它

source /opt/netbox/venv/bin/activate
./manage.py compilemessages
systemctl restart netbox netbox-rq
@amilys commented on GitHub (Jan 20, 2024): > Please allow us to contribute to the Chinese translation! 中文翻译 #14815 #14877 ![image](https://github.com/netbox-community/netbox/assets/11211624/7f7ef2e1-0984-44f7-a9cf-45dbe53c612e) 我已经提交部分中文翻译,你可以复制`netbox/translations/zh/LC_MESSAGES/django.po`到`netbox/translations/en/LC_MESSAGES/django.po` 然后执行以下命令来使用它 ```bash source /opt/netbox/venv/bin/activate ./manage.py compilemessages systemctl restart netbox netbox-rq ```
Author
Owner

@abhi1693 commented on GitHub (Jan 20, 2024):

Could you please rewrite your comments in English?

@abhi1693 commented on GitHub (Jan 20, 2024): Could you please rewrite your comments in English?
Author
Owner

@amilys commented on GitHub (Jan 20, 2024):

你能用英文重写你的评论吗?

Could you please rewrite your comments in English?

Just telling that friend to temporarily use Chinese translation methods

# Copy the Chinese translation file to the English translation folder
cp /opt/netbox/translations/zh/LC_MESSAGES/django.po /opt/netbox/translations/en/LC_MESSAGES/django.po

# Activate the Python virtual environment
source /opt/netbox/venv/bin/activate

# Compile messages
./manage.py compilemessages

# Restart NetBox service and NetBox RQ
systemctl restart netbox netbox-rq
@amilys commented on GitHub (Jan 20, 2024): > 你能用英文重写你的评论吗? > Could you please rewrite your comments in English? Just telling that friend to temporarily use Chinese translation methods ```bash # Copy the Chinese translation file to the English translation folder cp /opt/netbox/translations/zh/LC_MESSAGES/django.po /opt/netbox/translations/en/LC_MESSAGES/django.po # Activate the Python virtual environment source /opt/netbox/venv/bin/activate # Compile messages ./manage.py compilemessages # Restart NetBox service and NetBox RQ systemctl restart netbox netbox-rq ```
Author
Owner

@KongNan commented on GitHub (Jan 20, 2024):

Author

Thank you! ❤️

@KongNan commented on GitHub (Jan 20, 2024): > Author Thank you! ❤️
Author
Owner

@roberthon commented on GitHub (Mar 19, 2024):

Please allow us to contribute to the Chinese translation! 中文翻译 #14815

#14877 image

我已经提交部分中文翻译,你可以复制netbox/translations/zh/LC_MESSAGES/django.ponetbox/translations/en/LC_MESSAGES/django.po 然后执行以下命令来使用它

source /opt/netbox/venv/bin/activate
./manage.py compilemessages
systemctl restart netbox netbox-rq

How can I use Chinese temporarily in the docker environment, please?
docker运行时怎么临时使用啊大佬

@roberthon commented on GitHub (Mar 19, 2024): > > Please allow us to contribute to the Chinese translation! 中文翻译 #14815 > > #14877 ![image](https://private-user-images.githubusercontent.com/11211624/298268049-7f7ef2e1-0984-44f7-a9cf-45dbe53c612e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA4NDQ0MzgsIm5iZiI6MTcxMDg0NDEzOCwicGF0aCI6Ii8xMTIxMTYyNC8yOTgyNjgwNDktN2Y3ZWYyZTEtMDk4NC00NGY3LWE5Y2YtNDVkYmU1M2M2MTJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzE5VDEwMjg1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5MWEzZTVlYWIyZTFjODkxMmE3NmMyMjNjMTcwMjg0OGEyNWM2N2UwOWVjMWFlNjlmZWM1ZmFhMTY4ZDUyMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.chAiX1w-t70WGHo5KwrzsFeC-RnQD-48sPFHMbWljbU) > > 我已经提交部分中文翻译,你可以复制`netbox/translations/zh/LC_MESSAGES/django.po`到`netbox/translations/en/LC_MESSAGES/django.po` 然后执行以下命令来使用它 > > ```shell > source /opt/netbox/venv/bin/activate > ./manage.py compilemessages > systemctl restart netbox netbox-rq > ``` How can I use Chinese temporarily in the docker environment, please? docker运行时怎么临时使用啊大佬
Author
Owner

@JasonZhang0320 commented on GitHub (Apr 8, 2024):

你能用英文重写你的评论吗?

Could you please rewrite your comments in English?

Just telling that friend to temporarily use Chinese translation methods

# Copy the Chinese translation file to the English translation folder
cp /opt/netbox/translations/zh/LC_MESSAGES/django.po /opt/netbox/translations/en/LC_MESSAGES/django.po

# Activate the Python virtual environment
source /opt/netbox/venv/bin/activate

# Compile messages
./manage.py compilemessages

# Restart NetBox service and NetBox RQ
systemctl restart netbox netbox-rq

Thank you very much for your translation! I have completed the localization of my NetBox with the help of your translation. Although the process was a bit bumpy, the result is very good. PS: You need to go to the NetBox/translations/zh/LC_MESSAGES directory in amilys's GitHub. Also, after executing ./manage.py compilemessages, you may encounter prompts like "No module named 'xxx'", in which case you need to use the command pip install xxx to install them.

@JasonZhang0320 commented on GitHub (Apr 8, 2024): > > 你能用英文重写你的评论吗? > > > Could you please rewrite your comments in English? > > Just telling that friend to temporarily use Chinese translation methods > > ```shell > # Copy the Chinese translation file to the English translation folder > cp /opt/netbox/translations/zh/LC_MESSAGES/django.po /opt/netbox/translations/en/LC_MESSAGES/django.po > > # Activate the Python virtual environment > source /opt/netbox/venv/bin/activate > > # Compile messages > ./manage.py compilemessages > > # Restart NetBox service and NetBox RQ > systemctl restart netbox netbox-rq > ``` Thank you very much for your translation! I have completed the localization of my NetBox with the help of your translation. Although the process was a bit bumpy, the result is very good. PS: You need to go to the NetBox/translations/zh/LC_MESSAGES directory in amilys's GitHub. Also, after executing ./manage.py compilemessages, you may encounter prompts like "No module named 'xxx'", in which case you need to use the command pip install xxx to install them.
Author
Owner

@Songxwn commented on GitHub (Apr 11, 2024):

https://explore.transifex.com/netbox_cn/netbox-cn/

It's better to do it yourself

@Songxwn commented on GitHub (Apr 11, 2024): https://explore.transifex.com/netbox_cn/netbox-cn/ It's better to do it yourself
Author
Owner

@jeffgdotorg commented on GitHub (Apr 25, 2024):

https://explore.transifex.com/netbox_cn/netbox-cn/

It's better to do it yourself

I contend it's better to do it together.

Please consider joining the netbox-community project. We're a small team and have been very busy with other priorities (especially the 4.0 release), but we're making good progress and now have Transifex auto-sync working.

@jeffgdotorg commented on GitHub (Apr 25, 2024): > https://explore.transifex.com/netbox_cn/netbox-cn/ > > It's better to do it yourself I contend it's better to do it together. Please consider joining the [netbox-community](https://app.transifex.com/netbox-community/teams/) project. We're a small team and have been very busy with other priorities (especially the 4.0 release), but we're making good progress and now have Transifex auto-sync working.
Author
Owner

@Songxwn commented on GitHub (May 6, 2024):

https://songxwn.com/NetBox-Docker-cn/

The translation has been completed, you can refer to this tutorial.

@Songxwn commented on GitHub (May 6, 2024): https://songxwn.com/NetBox-Docker-cn/ The translation has been completed, you can refer to this tutorial.
Author
Owner

@KongNan commented on GitHub (May 9, 2024):

now have Transifex

So please just add Chinese(中文) language to transifex language list :)

@KongNan commented on GitHub (May 9, 2024): > now have Transifex So please just add Chinese(中文) language to [transifex](https://explore.transifex.com/netbox-community/netbox/) language list :)
Author
Owner

@jeremystretch commented on GitHub (May 15, 2024):

Support for Chinese will be available in NetBox v4.0.3. Please register on Transifex if you'd like to help improve these translations.

@jeremystretch commented on GitHub (May 15, 2024): Support for Chinese will be available in NetBox v4.0.3. Please register on [Transifex](https://explore.transifex.com/netbox-community/netbox/) if you'd like to help improve these translations.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9112