personal-security-checklist icon indicating copy to clipboard operation
personal-security-checklist copied to clipboard

French translation build issue - Only "Email" section rendering

Open sylverboss opened this issue 10 months ago • 2 comments

Description After translating the security checklist to French, the build process (yarn build) is only partially successful. While the CHECKLIST.md and static files are correctly generated under /dist, only the "email" section displays the checklist data. All other sections appear empty.

Steps to Reproduce

Created French translation of the checklist Source file location: https://github.com/sylverboss/personal-security/blob/master/personal-security-checklist.yml Modified const remoteUrl in layout.tsx to reference the new French checklist Run yarn build

Current Behavior CHECKLIST.md is generated correctly with French translations Static files are properly generated under /dist Only the "email" section displays checklist data All other sections are empty The JS console shows: Detected Layout Shift during page load 0.009598724999547231

Expected Behavior All sections should display their respective checklist data in French, similar to how they appear in the original English version.

Additional Context The issue appears to be related to how the sections are being pulled from the translated YAML file, as only the email section is successfully rendering its content.

Modifications Made Changed const remoteUrl in layout.tsx to point to the French checklist version

Development Space: https://musical-guide-r46jx9rppg3w7q7-5173.app.github.dev/

Can you please provide any suggestions for troubleshooting or potential fixes for this translation rendering issue ?

Thanks in advance, and great project ! 👌 AB

sylverboss avatar Feb 24 '25 06:02 sylverboss

Hello, could someone please advise?

sylverboss avatar Mar 18 '25 09:03 sylverboss

תיאור לאחר תרגום רשימת הבדיקה של האבטחה לצרפתית, תהליך הבנייה (בניית חוט) מוצלח רק חלקית. בעוד שקבצי ה-CHECKLIST.md והסטטיים נוצרים נכון תחת /deist, רק סעיף "אימייל" מציג את נתוני רשימת הבדיקה. כל שאר החלקים נראים ריקים.

שלבים להתרבות

נוצר תרגום צרפתי של רשימת הבדיקה מיקום קובץ המקור: https://github.com/sylverboss/personal-security/blob/master/personal-security-checklist.yml שונה const cemeterial ב-layout's כדי להתייחס לרשימת הבדיקה הצרפתית החדשה Run yarn build

CHECKLIST.md ההתנהגות הנוכחית נוצרת נכון בתרגומים לצרפתית. קבצים סטטיים נוצרים כראוי תחת /dist. רק סעיף "אימייל" מציג נתוני רשימת בדיקה. כל שאר החלקים ריקים. קונסול JS מציגה: __

התנהגות צפויה כל המדורים צריכים להציג את נתוני רשימת הבדיקה שלהם בצרפתית, בדומה לה הא ייר שהם מופיעים בגרסה המקורית באנגלית.

הקשר נוסף הבעיה נראית קשורה לאופן שבו הסעיפים נמשכים מקובץ ה-YAML המתורגם, שכן רק סעיף הדואר האלקטרוני מציג בהצלחה את התוכן שלו.

שינויים בוצעו שונה const remotely ב-layouts כדי להצביע על גרסת רשימת הבדיקה הצרפתית

מרחב פיתוח: https://musical-guide-r46jx9rppg3w7q7-5173.app.github.dev/

האם תוכל בבקשה להציע הצעות לפתרון תקלות או פתרונות אפשריים לבעיה הזו של וינדור התרגום?

תודה מראש, ופרויקט מעולה! 👌 סוג דם

lior2203 avatar Nov 27 '25 20:11 lior2203