rdoc icon indicating copy to clipboard operation
rdoc copied to clipboard

Do not translate is missing !

Open SyntheticMind opened this issue 6 years ago • 9 comments

SyntheticMind avatar Jul 15 '19 18:07 SyntheticMind

I assuming that i am at the right place. I presume RDoc is used to create the class documentation.

There is a problem with the documentation. The "not translate" is not been uses on the names of classes and method.

Welcome to the <span class="notranslate">Cool</span> company website!

As result, Google translate is changing the names of the classes and method. This simple change could provides a multilingual documentation for Ruby>

Thank you!

SyntheticMind avatar Jul 15 '19 19:07 SyntheticMind

I don't think that is being added by RDoc: https://github.com/ruby/rdoc/search?q=notranslate

Please re-open if I'm wrong. :pray:

zzak avatar Jan 31 '23 22:01 zzak

I think we may be able to add that attribute in the CSS files, if it is effective.

nobu avatar Feb 01 '23 00:02 nobu

@nobu Ahh, I think I misunderstood this. They want to add notranslate attribute. 👍

zzak avatar Feb 01 '23 02:02 zzak

https://www.w3schools.com/tags/att_translate.asp

On Tue, Jan 31, 2023 at 9:15 PM zzak @.***> wrote:

@nobu https://github.com/nobu Ahh, I think I misunderstood this. They want to add notranslate attribute. 👍

— Reply to this email directly, view it on GitHub https://github.com/ruby/rdoc/issues/729#issuecomment-1411351987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGZAT4C5RLKJY7JWCXCEATWVHBK5ANCNFSM4IDZZR4Q . You are receiving this because you authored the thread.Message ID: @.***>

SyntheticMind avatar May 20 '23 00:05 SyntheticMind

If you put this before your tag , your example will be protected from translation

On Fri, May 19, 2023 at 8:46 PM Francoys Proulx @.***> wrote:

https://www.w3schools.com/tags/att_translate.asp

On Tue, Jan 31, 2023 at 9:15 PM zzak @.***> wrote:

@nobu https://github.com/nobu Ahh, I think I misunderstood this. They want to add notranslate attribute. 👍

— Reply to this email directly, view it on GitHub https://github.com/ruby/rdoc/issues/729#issuecomment-1411351987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGZAT4C5RLKJY7JWCXCEATWVHBK5ANCNFSM4IDZZR4Q . You are receiving this because you authored the thread.Message ID: @.***>

SyntheticMind avatar May 20 '23 00:05 SyntheticMind

Sorry!

Like that

On Fri, May 19, 2023 at 8:48 PM Francoys Proulx @.***> wrote:

If you put this before your tag , your example will be protected from translation

On Fri, May 19, 2023 at 8:46 PM Francoys Proulx @.***> wrote:

https://www.w3schools.com/tags/att_translate.asp

On Tue, Jan 31, 2023 at 9:15 PM zzak @.***> wrote:

@nobu https://github.com/nobu Ahh, I think I misunderstood this. They want to add notranslate attribute. 👍

— Reply to this email directly, view it on GitHub https://github.com/ruby/rdoc/issues/729#issuecomment-1411351987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGZAT4C5RLKJY7JWCXCEATWVHBK5ANCNFSM4IDZZR4Q . You are receiving this because you authored the thread.Message ID: @.***>

SyntheticMind avatar May 20 '23 00:05 SyntheticMind

Hi, is this still available to be worked on?

aisayo avatar Oct 06 '23 15:10 aisayo

@aisayo Yes, I believe this feature request is available to be worked on.

The MDN page about the HTML translate attribute is a helpful guide to the implementer.

olleolleolle avatar Oct 19 '23 07:10 olleolleolle