translated challenges can fail because of translated comments in seed code
See original GitHub issueDescribe the Issue
Running the tests in step 6 of Cat Photo App practice project in Portuguese the test
O texto do comentário deve ser
TODO: Add link to cat photos
. Não altere o texto nem o espaçamento do comentário.
fail.
Affected Page
Your code
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Adicionar link para as fotos de gatos -->
<p>Click here to view more cat photos.</p>
</main>
</body>
</html>
it’s the starting code of the step
Expected behavior
The comment in the seed code is translated. It shouldn’t be or the test should be different.
Screenshots
System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Parsing of translated challenges · Issue #37955 - GitHub
This would be achieved by modifying the challenge-md-parser for non-English languages. It would first parse the English version, creating a ...
Read more >Common Errors with Exporting and Importing Translation Files
Troubleshoot issues you can encounter while exporting and importing files in Translation Workbench. ... Data translation import for key <key> failed.
Read more >Messenger RNA regulation: to translate or to degrade - NCBI
Furthermore, Wu et al (2006) showed that translation of mRNAs lacking a poly(A) tail remains repressed by miRNAs, indicating that deadenylation is not...
Read more >Translating Code Comments to Procedure Specifications
An executable specification is one that can be executed, for example because it is written in a programming lan- guage rather than in...
Read more >Can't I Just Use Google Translate? - K International
Task-specific Application: Diagnostic Evaluation of Multilingual Language Technologies” shows us that the cost of correcting a translation error increases ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
considering this is breaking for the various translated curriculums, I am going to make a PR after the meeting
so that would be move the string from https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/dictionaries/english/comments.json to https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/dictionaries/english/comments-to-not-translate.json
do you know if there is something to change somewhere else, @ojeytonwilliams?