Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chinese translation #14855

Closed
amilys opened this issue Jan 19, 2024 · 13 comments
Closed

Add Chinese translation #14855

amilys opened this issue Jan 19, 2024 · 13 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: translation Add support for a new language to the NetBox UI

Comments

@amilys
Copy link

amilys commented Jan 19, 2024

Language

Chinese

ISO 639-1 code

zh

Volunteer

Yes

Comments

No response

@amilys amilys added the type: translation Add support for a new language to the NetBox UI label Jan 19, 2024
@KongNan
Copy link

KongNan commented Jan 19, 2024

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

@jeffgdotorg
Copy link
Collaborator

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.

@amilys
Copy link
Author

amilys commented 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

@abhi1693
Copy link
Member

Could you please rewrite your comments in English?

@amilys
Copy link
Author

amilys commented 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

@KongNan
Copy link

KongNan commented Jan 20, 2024

Author

Thank you! ❤️

@roberthon
Copy link

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运行时怎么临时使用啊大佬

@JasonZhang0320
Copy link

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

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.

@Songxwn
Copy link

Songxwn commented Apr 11, 2024

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

It's better to do it yourself

@jeffgdotorg
Copy link
Collaborator

jeffgdotorg commented 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.

@Songxwn
Copy link

Songxwn commented May 6, 2024

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

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

@KongNan
Copy link

KongNan commented May 9, 2024

now have Transifex

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

@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label May 14, 2024
@jeremystretch jeremystretch self-assigned this May 14, 2024
@jeremystretch
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This issue has been accepted for implementation type: translation Add support for a new language to the NetBox UI
Projects
None yet
Development

No branches or pull requests

8 participants