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

[pt] Italics rule for foreign words when using Markdown fails #11097

Open
GwynethLlewelyn opened this issue Dec 10, 2024 · 6 comments
Open

[pt] Italics rule for foreign words when using Markdown fails #11097

GwynethLlewelyn opened this issue Dec 10, 2024 · 6 comments

Comments

@GwynethLlewelyn
Copy link

GwynethLlewelyn commented Dec 10, 2024

Hi there!

Sorry, newbie LT user here, and I have no idea if this is the best place to deal with questions and/or feature requests...

I'm a heavy Markdown user (well, all of you reading this on GitHub are) and I find it slightly annoying that LT correctly identifies foreign words as requiring quotation marks around them, or italics — but when typing directly in Markdown, it obviously doesn't recognise the conventions of using _/* (either or both, depending on the Markdown flavour...) for italics.

Since there is already a check somewhere in the rules to search for proper quotation marks around the foreign word(s), and there are at least three types (" which is the most popular form both in pt_PT and pt_BR; «...» after the French fashion, but currently not so popular; and ' after the British fashion, which is uncommon, but not incorrect), I wonder if the simple * and _ could be added as markers as well.

This may also apply to other languages that commonly write foreign words in italics, of course.

@marcoagpinto
Copy link
Member

@p-goulart @susanaboatto

What is your opinion?

Should I also add _ and * ?

Thanks!

@p-goulart
Copy link
Collaborator

I see no reason why you wouldn't try, but it must be tested extensively. That said...

To be entirely honest, LT should handle Markdown in a more unified way, and this solution should not be limited to Portuguese.

@GwynethLlewelyn
Copy link
Author

@p-goulart thanks for the heads-up 😀 I totally agree that the solution should be 'universal'; however, I'm not quite sure about italics usage in other languages (or, rather, I haven't come across that situation before). The reason for adding this suggestion here is just because the small blurb on the suggested correction explicitly mentions italics for ... but it doesn't recognise Markdown italics :)

@p-goulart
Copy link
Collaborator

Yeah, you're not wrong, that is a little silly. If we say it should be in italics and then fail to recognise that the user has tried to abide by the recommendation... that's less than ideal...

The cynical solution would be just removing any mention of italics from the message, of course :p

@GwynethLlewelyn
Copy link
Author

The cynical solution would be just removing any mention of italics from the message, of course :p

🤣

Of course, that works too!

@marcoagpinto
Copy link
Member

For pt-PT it is coded: #11106

Although words inside underscores appear as typos, but maybe it works well in the browser add-on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants