Skip to content

feat: translate the new media track names - #143

Merged
itsjoshpark merged 1 commit into
mainfrom
fix/translate-track-names
Aug 24, 2026
Merged

feat: translate the new media track names#143
itsjoshpark merged 1 commit into
mainfrom
fix/translate-track-names

Conversation

@itsjoshpark

Copy link
Copy Markdown
Owner

Follows #142, which added Track %lld and %@ (%@) untranslated.

Track %lld — 20 languages

Each uses the word that language's existing track strings already use, so the menu agrees with the Inspector's own Track picker.

ar المسار %lld cs Stopa %lld da Spor %lld de Spur %lld
el Κομμάτι %lld es Pista %lld fi Raita %lld fr Piste %lld
hu Sáv %lld it Traccia %lld ja トラック %lld ko 트랙 %lld
nl Spoor %lld pl Ścieżka %lld ro Pista %lld ru Дорожка %lld
sv Spår %lld uk Доріжка %lld zh-Hans 轨道 %lld zh-Hant 軌道 %lld

Turkish and Vietnamese are deliberately left untranslated — see the note below.

%@ (%@) — 22 languages

Punctuation only, so it differs only where the punctuation does: ja, zh-Hans and zh-Hant take the full-width brackets () that belong beside CJK text. The other nineteen are %@ (%@), which is already right for them — French included, since French puts no space inside parentheses.

Existing terms worth a second opinion

Three of the catalog's current Track / Tracks translations look wrong, and I did not touch them here — they are outside this change:

  • ro: TrackUrmărire ("tracking"), TracksȘenile ("caterpillar treads"). The same file's Audio TrackPiesă audio is fine, so the noun is inconsistent as well as wrong.
  • ar: Trackالتتبع ("tracking", the act) where the plural المسارات is right.
  • tr İz and vi Rãnh read as "trace" and "groove". Both are why I left those two languages out rather than propagate a term I am not sure of.

Verification

  • analyze clean, 282 unit tests pass, format specifiers checked programmatically against every value.
  • Resolved at runtime, not just in the file: launched with -AppleLanguages (de) the menu reads Aus / Spur 1, and with (ja) it reads オフ / トラック 1.

The two strings added with the track menus shipped untranslated, so every
language but English read "Track 1" for an unnamed track.

Twenty languages get the numbered label, each using the word that language's
existing track strings already use. Turkish and Vietnamese are left out: the
terms currently in the catalog for "Track" read as "trace" and "groove", and
picking between those and the alternatives is a call for someone who speaks
them.

The qualified form is punctuation, so it changes only where the punctuation
does - Japanese and both Chinese scripts take the full-width brackets that
belong beside CJK text.
@itsjoshpark itsjoshpark changed the title fix: translate the new media track names feat: translate the new media track names Aug 24, 2026
@itsjoshpark
itsjoshpark force-pushed the fix/translate-track-names branch from 619d971 to 2fb9ca2 Compare August 24, 2026 20:32
@itsjoshpark
itsjoshpark merged commit 625e1cf into main Aug 24, 2026
2 checks passed
@itsjoshpark
itsjoshpark deleted the fix/translate-track-names branch August 24, 2026 20:39
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.

1 participant