dromara / issues-translate-action

The action for translating Non-English issues content to English.
MIT License
185 stars 27 forks source link

可以支持翻译 issue 标题吗? #42

Closed sangshuduo closed 3 years ago

sangshuduo commented 3 years ago

可以支持翻译 issue 标题吗?

Issues-translate-bot commented 3 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Can the issue title be translated?

Can you support translation of issue title?

tomsun28 commented 3 years ago

你好可以支持的,你看楼上

Issues-translate-bot commented 3 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


You can support it, look upstairs

sangshuduo commented 3 years ago

呃,我其实是希望可以直接修改 issue 的标题,而不是在新的 comment 中的 Title: ...

Issues-translate-bot commented 3 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Uh, I actually hope that I can directly modify the title of the issue instead of the Title: in the new comment...

tomsun28 commented 3 years ago

这个可以在下个版本做个开关支持下,不过需要给机器人账户修改权限

Issues-translate-bot commented 3 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This can be supported by a switch in the next version, but you need to modify the permissions for the robot account

sangshuduo commented 3 years ago

非常期待

Issues-translate-bot commented 3 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Very much looking forward to

tomsun28 commented 3 years ago

@sangshuduo 新版本已支持 欢迎使用 这个需要将@Issues-translate-bot加入到仓库协作者这样才有权限修改issue 建议配置使用自己的机器人账户,更安全

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The new version of @sangshuduo is already supported. Welcome. This requires adding @Issues-translate-bot to the warehouse collaborator so that you have the authority to modify the issue. It is recommended to configure your own robot account, which is more secure.

sangshuduo commented 3 years ago

已经邀请,看状态是 pending,所以是需要您那边手工接受才行?

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It has been invited, and the status is pending, so do you need to accept it manually?

tomsun28 commented 3 years ago

是的,刚刚已经接受,您试试呢

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Yes, it has just been accepted, would you try

sangshuduo commented 3 years ago

我按照官方实例加了

with:
          IS_MODIFY_TITLE: false

然后加入的中文 issue 没有翻译,是哪里写错了吗?原始 yaml 文件在:

https://github.com/sangshuduo/postress/blob/main/.github/workflows/issue-translator.yml

tomsun28 commented 3 years ago
        with:
          IS_MODIFY_TITLE: true

IS_MODIFY_TITLE 在with下方后两个space对齐试试呢

sangshuduo commented 3 years ago

改了也没有变化,BTW,这里的 comments 对话也没有翻译

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is no change after the change, BTW, the comments here are also not translated

tomsun28 commented 3 years ago

github action yml格式比较严格 还是格式有点小问题,已经提了个pr您看下 https://github.com/sangshuduo/postress/pull/10 ,上面两个comment未翻译是因为计算出它的第一占有率语言是英文了(里面有代码被算成了英文),我之后优化下

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The github action yml format is strict or the format is a bit of a minor problem. I have already mentioned a pr. Please check https://github.com/sangshuduo/postress/pull/10. The above two comments are not translated because it is calculated first. The language of the share rate is English (the code in it is counted as English), I will optimize it later

sangshuduo commented 3 years ago

繁体中文可以支持吗?

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can Traditional Chinese be supported?

tomsun28 commented 3 years ago

可以的,支持常见的非英文,法语日语中文俄语等。

你好我來自台灣,很高興能使用這個項目。這裡有一個小問題。

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Yes, it supports common non-English, French, Japanese, Chinese, Russian, etc.

Hello, I am from Taiwan and I am very happy to use this project. There is a small problem here.

sangshuduo commented 3 years ago

非常感谢,非常棒的 project

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thank you very much, great project

moegirlwangge commented 3 years ago

@tomsun28 目前的情况是:

**Title:** [标题内容]

我建议标题翻译可以修改成这个样子:

## [标题内容]
Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@tomsun28 The current situation is:

**Title:** [Title content]

I suggest that the title translation can be modified to look like this:

## [title content]
tomsun28 commented 3 years ago

@nc-animation 好的 这个在下一个版本修改好

Issues-translate-bot commented 3 years ago

custom message - Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@nc-animation Okay, this will be modified in the next version