ouweiya / Dual-Caption-Blog

Dual Caption Blog
https://www.dual-subtitles.com
156 stars 21 forks source link

Traditional Chinese subtitles not displaying properly from auto-generated English subtitles #52

Open tim103117 opened 6 days ago

tim103117 commented 6 days ago

Description

When using auto-generated English subtitles as the source for translation to Traditional Chinese, the resulting subtitles do not display properly on YouTube. However, the Simplified Chinese subtitles work correctly.

Steps to Reproduce

  1. Open a YouTube video with auto-generated English subtitles
  2. Set the target language to Traditional Chinese in either the source or the target default.
  3. Observe that the Traditional Chinese subtitles do not display correctly

Expected Behavior

Traditional Chinese subtitles should display properly, like how Simplified Chinese subtitles are working.

Screenshots

螢幕擷取畫面 2024-06-29 180753 螢幕擷取畫面 2024-06-29 175133

Proposed Solution

Implement an additional translation step within the extension:

  1. Set the first subtitle (above the second subtitle) to English (auto-generated)
  2. Set the second subtitle (below the first subtitle) to Simplified Chinese
  3. Translate the second subtitle to Traditional Chinese via external services
  4. With it the Traditional Chinese subtitle should display correctly

Additional Notes

This issue appears to be on YouTube's end, but the proposed solution would allow the extension to handle it independently of YouTube's translation service.

ouweiya commented 6 days ago

I will resolve this issue as soon as possible. Please be patient and wait a few days.