Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

ABS+ now speaks 22 languages: how I translated a 4 MB audiobook player and tested every one

说明与用途

ABS+ 1.2.4 增加了 22 种语言支持,改进了复数处理、RTL 布局、文件大小格式化和动态错误信息,APK 大小增加 243 KB。

问题

Translate the ABS+ audiobook player into 22 languages while ensuring complete, correct, and functional localization.

结果

The 1.2.4 release added full 22‑language support, improved plural and RTL handling, dynamic error messages, and locale‑aware file size formatting, increasing APK size by 243 KB (6.2 %).

工作流

  • 1. Added 22 language string catalogs (137 strings + 9 plural sets each) to Android and iOS projects.
  • 2. Updated Google Play and App Store listings to 24 locales, writing market‑specific text.
  • 3. Implemented LocalizationTest to verify string completeness, placeholder usage, plural coverage, and untranslated string detection.
  • 4. Added RTL support in Android manifest and fixed media controls layout for RTL languages.
  • 5. Replaced custom file‑size formatting with Android’s locale‑aware formatter.
  • 6. Refactored download error handling to store error reasons instead of full sentences, rendering them at display time.
  • 7. Added certificate‑error detection logic that distinguishes certificate problems from connectivity issues.
  • 8. Ran full test suite, ensuring all locales pass all checks.
  • 9. Released APK (4,182,014 bytes) and updated GitHub and release pages.
  • 10. Monitored App Store listings for iOS localization rollout.

证据

ABS+ 1.2.4, released on October 28, 2026, translates the whole app into 22 languages: English plus 21 more, from Arabic with a proper right-to-left layout to Ukrainian.

来源

I wrote one test, LocalizationTest, that does four things for every language: ...

来源

The manifest declares RTL support and the test asserts that an Arabic phone gets a right-to-left layout direction.

来源

The app builds "MB" and "GB" from its own strings. It now asks Android's size formatter, which picks the unit for the UI language, and the test checks that Russian and Ukrainian show "МБ" and that Arabic doesn't show the Latin "MB".

来源

The bug I'm gladdest I found is a quiet one. Before 1.2.4, when a download failed, the app stored the error on the download job as a finished sentence, such as "Couldn't download (HTTP 404)", built in whatever language was active at that moment.

来源

Now it says, in your language: "Couldn't connect securely to the server. Check its certificate."

来源

  • 记录日期: 2026-11-01T20:43:45.394Z