Skip to content

Chinese pages for Audio Trimmer, Speed Changer and Voice to Text - #23

Merged
formeo merged 1 commit into
mainfrom
zh-more
Oct 26, 2026
Merged

formeo merged 1 commit into
mainfrom
zh-more

Conversation

@formeo

@formeo formeo commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Every tool now has a Chinese page. In GA (Sep 28 – Oct 25) Chinese is the top language (595 of 1,412 users), and the page-title report shows machine-translated titles of exactly these three English pages: people were translating them in the browser.

New pages

  • /zh/audio-trimmer/, /zh/audio-speed-changer/, /zh/voice-to-text/ — built by scripts/build_zh.py from the English pages (same code, translated text, Chinese FAQ JSON-LD via seo_sync.py, hreflang both ways, 中文/EN switch).
  • /zh/voice-to-text/: Chinese is the preselected language; the word count uses Intl.Segmenter (split on spaces gives "1 word" for a Chinese paragraph); Yandex Metrika is left out — it is there for the Russian audience of the English page. The English page is unchanged.

Links

  • Chinese nav, footers, /zh/ home and the four Chinese format pages now link to the new pages; the helper on /zh/ and "continue with this file" open them.

Other

  • Sitemap (+3 URLs), llms.txt, README, changelog; og/zh-*.png for the three pages.
  • build_zh.py leftover check now also reads CSS content: text (it missed the empty-transcript hint).

Checked

  • New e2e: trimmer cuts and saves MP3, speed changer 0.75x saves MP3, GA file_processed fires, Chinese UI strings, zh-CN preselected, Segmenter count (8 words in a 16-character sentence), no Yandex on zh, English page keeps en-US and Yandex, helper → /zh/audio-trimmer/ and /zh/audio-speed-changer/ with 0.75x applied, language switch both ways, no page errors.
  • Existing suites pass: links/hreflang/footer coverage, zh, helper, helper settings, metrics; no horizontal scroll at 390 px; seo_sync.py --check.

Generated by Claude Code

Every tool now has a /zh/ page. GA shows Chinese visitors (over 40% of users)
running these three English pages through browser translation.

- build_zh.py: translation tables for the three pages; on /zh/voice-to-text/
  Chinese is preselected, words are counted with Intl.Segmenter (Chinese has
  no spaces), and Yandex Metrika is left out (it serves the Russian audience
  of the English page). The leftover-English check now also reads CSS
  `content:` text.
- Navigation, footers, helper picks and "continue with this file" links on
  Chinese pages point to the new pages; format pages rebuilt.
- Sitemap, llms.txt, README, changelog; zh preview images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016rsS6JgzjZXLy17J1cgACN
@formeo
formeo merged commit f7e1176 into main Oct 26, 2026
1 check passed
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