kingmo888 / rustdesk-api-server

基于Django的RustDesk Api&Web Server,除了支持api所有功能,还支持web注册、管理、展示等。已支持到最新1.3.1版本。
979 stars 220 forks source link

Localization - translate #58

Closed AdWEm closed 7 months ago

AdWEm commented 7 months ago

Good morning. I translate descriptions into Polish. Unfortunately, I can't find a place where there are subtitles from the Administration tab, for example such as:

obraz obraz obraz obraz

In several other places.

Can I ask for help on this matter? Thank you and best regards.

kingmo888 commented 7 months ago

Hello, In the latest version of this project, internationalization can already be easily achieved through local.

The method is as follows: Copy a copy of the local/en folder, such as local/po, and then translate the files locally.

Meanwhile, modify the settings. py file to:

LANGUAGES=(
('zh hans', 'Simplified Chinese'),
('en ',' English '),
('po ',' Polish'),
)

Finally, if your attempt is successful, you can submit a PR. If the attempt fails, you can contact me and I will join support.

kingmo888 commented 7 months ago

It seems that you have already done some localization work. It should be that some models have not completed internationalization support, please look forward to future versions.

AdWEm commented 7 months ago

Good morning. The English translation does not include the Admin Panel tab. Below is an example screenshot. Translation is also missing in other places. Regards.

obraz