Pascal/mar 1115 use ai agent to detect and fix broken translations tags and - #1154
Merged
Pascal-Delange merged 5 commits intoOct 9, 2025
Conversation
Pascal-Delange
force-pushed
the
pascal/mar-1115-use-ai-agent-to-detect-and-fix-broken-translations-tags-and
branch
from
October 9, 2025 08:49
a2a6c19 to
ba18dfd
Compare
Pascal-Delange
commented
Oct 9, 2025
| "download_template_cta": "تحميل قالب .csv", | ||
| "drop_file_cta": "أدرج ملف .csv الخاص بك هنا.", | ||
| "errors.request_timeout": "انتهت مهلة الطلب. يرجى المحاولة مرة أخرى، أو حاول تقسيم الملف إلى أجزاء أصغر.", | ||
| "download_template_cta": "تنزيل قالب .csv", |
Contributor
Author
There was a problem hiding this comment.
NB: what is invisible in github (and it's a shame IMO) but visible in cursor is that it added a [U+200E] hidden char for ordering (which IIUC is equivalent to having written vsc. instead of .csv. I found that smart. On this line and a few others, for that matter
Pascal-Delange
marked this pull request as ready for review
October 9, 2025 09:16
OrriMandarin
approved these changes
Oct 9, 2025
Pascal-Delange
deleted the
pascal/mar-1115-use-ai-agent-to-detect-and-fix-broken-translations-tags-and
branch
October 9, 2025 14:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this PR, I let Cursor run over all our translation files to improve them.
For english translations, I mostly let it fix typos, obviously bad syntax. For french and arabic, I pushed it to be more in-depth and:
I used the following prompt (or variations around it for french and english):
NB: retex: it was kind of a pain to run, because those big json files pretty quickly exhaust the context window of most models. So, I essentially needed to run it file by file, with a new cursor chat window each time.
Petit florilège des traductions françaises pourries qu'on avait: