Skip to content

Add Chinese localization and comments shortcut - #186

Open
lwokf wants to merge 11 commits into
prateek-chaubey:mainfrom
lwokf:codex-zh-comments
Open

Add Chinese localization and comments shortcut#186
lwokf wants to merge 11 commits into
prateek-chaubey:mainfrom
lwokf:codex-zh-comments

Conversation

@lwokf

@lwokf lwokf commented Jul 25, 2026

Copy link
Copy Markdown

Adds Simplified Chinese UI strings, local APK-loaded YTPro scripts, and a comments shortcut that opens YouTube's original comment section when available.

@lwokf
lwokf force-pushed the codex-zh-comments branch from bba6789 to 4d5b2f0 Compare July 25, 2026 10:52
@prateek-chaubey

Copy link
Copy Markdown
Owner

Bro 🥀

@prateek-chaubey

Copy link
Copy Markdown
Owner

Fix the UI bugs as well lol , also don't add javascript files directly in the assets folder , i use CDN to make it auto-updatable
rn youtube have updated the UI , so the buttons need to be updated as well
I didn't get much time to push regular updates

@lwokf

lwokf commented Jul 25, 2026

Copy link
Copy Markdown
Author

Thanks for the feedback. I updated the PR to address this:

  • Removed the JavaScript files from the Android assets folder.
  • Kept the runtime changes in scripts/script.js so the existing CDN update flow can keep working.
  • Kept the Android change limited to the zh-rCN string resources.
  • Updated the comments shortcut placement/behavior for the current YouTube UI; it now appears earlier in the action bar and targets the native comments entry/fallback instead of adding a separate embedded comments UI.

I also reverted the live chat panel experiment because it could interfere with video playback. Please re-review when you get a chance.

@lwokf

lwokf commented Jul 25, 2026

Copy link
Copy Markdown
Author

Small follow-up: I added a safer live-stream path for the comments shortcut as well. On live videos it now tries to open YouTube's native live chat entry first, and falls back to the official live_chat popout URL for the current video. This avoids embedding a live chat iframe or scanning/mutating the playback page, which was the part that could interfere with video playback.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants