Skip to content

Translations update from Hosted Weblate#363

Merged
n-ce merged 13 commits into
n-ce:mainfrom
weblate:weblate-ytify-web
Dec 22, 2025
Merged

Translations update from Hosted Weblate#363
n-ce merged 13 commits into
n-ce:mainfrom
weblate:weblate-ytify-web

Conversation

@weblate
Copy link
Copy Markdown
Contributor

@weblate weblate commented Dec 22, 2025

Translations update from Hosted Weblate for ytify/web.

Current translation status:

Weblate translation status

Summary by CodeRabbit

  • Chores
    • Expanded localization support across multiple languages (Arabic, Bengali, Spanish, Hindi, Indonesian, Japanese, Polish, Portuguese, Romanian, Russian, Turkish, Urdu, and Chinese) by adding translation keys in preparation for upcoming features.

✏️ Tip: You can customize this high-level summary in your review settings.

Currently translated at 81.3% (140 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/es/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/ar/
Currently translated at 87.2% (150 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/ru/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/zh_Hans/
Currently translated at 59.8% (103 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/ro/
Currently translated at 94.1% (162 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/ja/
Currently translated at 86.0% (148 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/pl/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/pt/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/id/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/hi/
Currently translated at 36.0% (62 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/tr/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/ur/
Currently translated at 77.3% (133 of 172 strings)

Translation: ytify/web
Translate-URL: https://hosted.weblate.org/projects/ytify/web/bn/
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 22, 2025

Walkthrough

This PR expands localization support by adding 19 new translation key placeholders (initialized to empty strings) across 13 locale JSON files (Arabic, Bengali, Spanish, Hindi, Indonesian, Japanese, Polish, Portuguese, Romanian, Russian, Turkish, Urdu, and Chinese). All files receive the same set of new keys with consistent formatting adjustments to JSON structure.

Changes

Cohort / File(s) Summary
Localization Key Expansion
src/locales/ar.json, src/locales/bn.json, src/locales/es.json, src/locales/hi.json, src/locales/id.json, src/locales/pt.json, src/locales/ur.json, src/locales/zh.json
Added 19 new translation keys with empty string values (settings_reload, library_imported, settings_link_capturing, settings_pwa_watch, library_liked, list_already_exists, settings_audio_quality, actions_menu_download_init, settings_prefetch, list_rename_success, settings_landscape_sections, list_export_success, clear_hub_prompt, library_about, actions_menu_yt_link, clear_hub, list_export_error, list_rename_prompt, list_export); minor JSON formatting adjustments with trailing commas
Partial Localization Update
src/locales/ja.json, src/locales/pl.json, src/locales/ro.json, src/locales/ru.json, src/locales/tr.json
Added subset of new translation keys with empty string values and JSON formatting adjustments to existing entries

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~8 minutes

  • Verify JSON syntax validity across all 13 files
  • Confirm key names are consistent and match across all locale files
  • Check that empty string values are intentional placeholders for future translations

Possibly related PRs

Poem

🐰 Whiskers twitch with translation glee,
Nineteen keys in harmony,
Across the tongues, from east to west,
Empty strings await their best,
Soon shall flow in every tongue,
A global song, forever sung! 🌍✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: adding/updating translations across multiple locale files from Hosted Weblate.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/locales/tr.json (1)

169-183: Confirm fallback handling for empty translation strings in Turkish locale (36% complete).

This file adds 14 new translation keys initialized as empty strings. Since Turkish is significantly incomplete (36% completion per PR description), empty strings may render as blank UI elements (buttons, labels, prompts) unless the application properly falls back to the default locale or displays key identifiers.

Verify the app's i18n implementation:

  • Confirms a fallback locale (e.g., English) is configured
  • Handles empty/missing translations gracefully without showing blank UI
  • Has visibility into incomplete translations during development
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 21d0e28 and 7b0749e.

📒 Files selected for processing (13)
  • src/locales/ar.json
  • src/locales/bn.json
  • src/locales/es.json
  • src/locales/hi.json
  • src/locales/id.json
  • src/locales/ja.json
  • src/locales/pl.json
  • src/locales/pt.json
  • src/locales/ro.json
  • src/locales/ru.json
  • src/locales/tr.json
  • src/locales/ur.json
  • src/locales/zh.json
🔇 Additional comments (5)
src/locales/zh.json (1)

163-182: LGTM: Placeholder keys added consistently.

The same set of 19 translation keys has been added with empty placeholders, matching the pattern across all locale files in this PR.

src/locales/id.json (1)

163-182: LGTM: Translation placeholders added correctly.

The 19 new keys match the additions in other locale files, maintaining consistency across the localization surface.

src/locales/hi.json (1)

163-182: LGTM: Consistent key additions.

All 19 new translation keys are properly formatted with empty string placeholders.

src/locales/pt.json (1)

163-182: LGTM: Translation structure expanded correctly.

The Portuguese locale follows the same pattern as the other 12 locale files in this PR, with all 19 new keys properly added.

src/locales/ur.json (1)

163-182: LGTM: Consistent placeholder additions for future translations.

The 19 new translation keys have been added with empty string values, following standard Weblate workflow where translators incrementally fill in translations. The application's custom i18n implementation in src/lib/stores/i18n.ts already has proper fallback handling: the t() function returns the key name itself (translations[key] || key as string) when a translation is empty, preventing blank UI text. All keys have corresponding English translations in en.json, ensuring graceful fallback behavior is available.

@n-ce n-ce linked an issue Dec 22, 2025 that may be closed by this pull request
@n-ce n-ce merged commit f3cfd01 into n-ce:main Dec 22, 2025
1 of 2 checks 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.

Incomplete translation

2 participants