Skip to content

Add Russian translation and i18n engine fixes - #11

Open
tommynok wants to merge 1 commit into
Order52:mainfrom
tommynok:pr/russian-localization
Open

tommynok wants to merge 1 commit into
Order52:mainfrom
tommynok:pr/russian-localization

Conversation

@tommynok

@tommynok tommynok commented Nov 6, 2026

Copy link
Copy Markdown

Hello @Order52,

Really impressive work on TinyKit — having such a rich, capable system toolbox in a compact ~280 KB APK with no heavy frameworks is rare and refreshing.

This PR adds Russian localization and a few small i18n engine fixes:

  1. Translations:

    • app/src/main/assets/i18n/ru.tsv: 1170+ UI strings translated. The translation covers almost 100% of the UI, tested on physical devices across primary screens, tools, dialogs, and settings.
    • app/src/main/res/values-ru/strings.xml: Russian titles for all 25 Quick Settings tiles.
    • fastlane/metadata/android/ru-RU/: Store listing metadata (title, short and full descriptions).
  2. i18n Engine & Formatting Fixes:

    • Tr.java: Look up locale via Context.getResources().getConfiguration() so per-app language settings (Android 13+) are respected alongside system locale.
    • MainActivity.java:
      • Added Tr.init(this) on activity start so runtime locale switches apply cleanly.
      • Split pre-concatenated strings into separate Tr.t() calls where dynamic values previously prevented dictionary lookups (Memory: used of, Bloat level notes, Install option summaries).
      • Localized chip titles and option dialog items (chip() method) and added single-line protection to prevent chips from breaking into multi-line towers on longer labels.

All scripts/check-repo.sh checks pass.

tommynok added a commit to tommynok/tinykit that referenced this pull request Nov 6, 2026
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