Skip to content

Conversation

@yet300
Copy link
Contributor

@yet300 yet300 commented Aug 6, 2025

Description

##Supported Languages
AI - translate with AI
Native - verified by a native speaker

  • en: English -- Native
  • ru: Русский (Russian) -- AI
  • uk: Українська (Ukrainian) -- AI
  • be: Беларуская (Belarusian) -- AI
  • tr: Türkçe (Turkish) -- AI
  • kk: Қазақша (Kazakh) -- AI
  • ka: ქართული (Georgian) -- AI
  • ar: العربية (Arabic) -- AI
  • cs: Čeština (Czech) -- AI
  • it: Italiano (Italian) -- AI
  • az: Azərbaycan dili (Azerbaijani) -- AI
  • bqi: بختیاری (Bakhtiari) -- AI
  • iw: עברית (Hebrew) -- AI

Checklist

yet300 added 4 commits August 4, 2025 17:21
This commit introduces string resources to internationalize the following screens:
- Onboarding:
    - BatteryOptimizationScreen
    - BluetoothCheckScreen
    - InitializingScreen
    - LocationCheckScreen
    - PermissionExplanationScreen
- UI:
    - ChatHeader
    - DialogComponents
    - InputComponents
* Add Belarusian, Georgian, Kazakh, Russian, Turkish, and Ukrainian translations

Warning: this translation was created using AI, so there may be inaccuracies in the translation.
This commit introduces string resources to internationalize the following screens:
- Onboarding:
    - BatteryOptimizationScreen
    - BluetoothCheckScreen
    - InitializingScreen
    - LocationCheckScreen
    - PermissionExplanationScreen
- UI:
    - ChatHeader
    - DialogComponents
    - InputComponents
* Add Belarusian, Georgian, Kazakh, Russian, Turkish, and Ukrainian translations

Warning: this translation was created using AI, so there may be inaccuracies in the translation.
@yet300 yet300 changed the title Feature/chat UI improvements Add Internationalization and New Language Translations Aug 6, 2025
yet300 added 3 commits August 6, 2025 16:57
This commit adds new string resources for the app info screen in English, Belarusian, Georgian, Kazakh, Russian, Turkish, and Ukrainian.

The new strings include:
- App tagline
- Features section with titles and descriptions for offline communication, end-to-end encryption, extended range, favorites, mutual favorites, and mentions.
- Privacy section with titles and descriptions for no tracking, ephemeral identity, and panic mode.
- "How to use" section with instructions.
- Warning message about private message security.
- "Done" button text.

The Ukrainian strings file was also moved from `app/src/main/res/uk/strings.xml` to `app/src/main/res/values-uk/strings.xml` to follow standard Android resource directory naming.
- Replaced AppInfoDialog with AppInfoBottomSheet(IOS like).
- Created `BottomSheetComponents.kt` to house the new `AppInfoBottomSheet` and its related composables.
- Updated `ChatScreen.kt` to use `AppInfoBottomSheet` and invoke it from a new composable `ChatSheets`.
- Removed `AppInfoDialog` from `DialogComponents.kt`.
- `AppInfoBottomSheet` now displays app features, privacy information, usage instructions, and a warning message in a scrollable list.
- Added a top bar to the bottom sheet that becomes opaque on scroll and includes a "Done" button.
…vements

# Conflicts:
#	app/src/main/java/com/bitchat/android/onboarding/BluetoothCheckScreen.kt
#	app/src/main/java/com/bitchat/android/ui/DialogComponents.kt
#	app/src/main/java/com/bitchat/android/ui/InputComponents.kt
#	app/src/main/res/values-be/strings.xml
#	app/src/main/res/values-ka/strings.xml
#	app/src/main/res/values-kk/strings.xml
#	app/src/main/res/values-ru/strings.xml
#	app/src/main/res/values-tr/strings.xml
#	app/src/main/res/values/strings.xml
@yet300 yet300 changed the title Add Internationalization and New Language Translations Add Internationalization, New Language Translations, and Create new appInfo Bottom Sheet as IOS Aug 6, 2025
@yet300
Copy link
Contributor Author

yet300 commented Aug 6, 2025

IMAGE 2025-08-06 17:12:38
IMAGE 2025-08-06 17:12:45

@skulidropek
Copy link

Good

@callebtc
Copy link
Collaborator

callebtc commented Aug 7, 2025

Thanks for the PR, @yet300 the build is failing.

yet300 added 2 commits August 7, 2025 16:16
- Add "mention" string to default and localized strings.xml files
- Remove `app/src/main/res/uk/strings.xml` as it is a duplicate of `app/src/main/res/values-uk/strings.xml`
* Use stringResource for message hint
* Minor code cleanup in InputComponents.kt
* Add stringResource import in DialogComponents.kt
@yet300
Copy link
Contributor Author

yet300 commented Aug 7, 2025

Thanks for the PR, @yet300 the build is failing.

should work now)

@PhotonGilbert
Copy link

I am a native speaker of Belarusian and Russian. I looked through the translations and found no mistakes, except for some strings.
Belarusian:

<string name="battery_optimization_skip">Прапусціць пакуль</string>
should be corrected to <string name="battery_optimization_skip">Прапусціць зараз</string>;
<string name="setup_not_complete">Наладка не завершана</string>
should be corrected to <string name="setup_not_complete">Налада не завершана</string>;
<string name="app_info_tagline">mesh-чат для групнога абмену паведамленнямі</string>
should be corrected to <string name="app_info_tagline">mesh-чат для групавога абмену паведамленнямі</string>;
<string name="feature_mutual_favorites_desc">пішыце адзін аднаму праз nostr, калі вы па-за зонай дзеяння mesh-сеткі</string>
should be corrected to <string name="feature_mutual_favorites_desc">пішыце адзін аднаму праз nostr, калі вы за зонай дзеяння mesh-сеткі</string>;
<string name="feature_mentions_desc">выкарыстоўвайце @nickname для апавяшчэння канкрэтных людзей</string>
should be corrected <string name="feature_mentions_desc">выкарыстоўвайце @nickname для згадвання канкрэтных людзей</string>;
Russian:
<string name="battery_optimization_skip">Пропустить пока</string>
should be corrected to <string name="battery_optimization_skip">Пропустить сейчас</string>;
<string name="feature_mentions_desc">используйте @nickname для уведомления конкретных людей</string>
should be corrected to <string name="feature_mentions_desc">используйте @nickname для упоминания конкретных людей</string>

@yet300
Copy link
Contributor Author

yet300 commented Aug 7, 2025

Oh thanks, I'll change it

1 similar comment
@yet300
Copy link
Contributor Author

yet300 commented Aug 7, 2025

Oh thanks, I'll change it

yet300 added 9 commits August 7, 2025 22:53
This commit introduces per-app language preferences by:
- Adding a `locales_config.xml` file defining supported locales: en, ru, uk, be, tr, kk, ka, ar, cs, it, az, bqi, iw.
- Updating `AndroidManifest.xml` to reference the `locales_config.xml` via the `android:localeConfig` attribute in the `<application>` tag.
- Incrementing `tools:targetApi` from 31 to 33 in `AndroidManifest.xml`.
@yet300
Copy link
Contributor Author

yet300 commented Aug 22, 2025

open new pr(#275)

@yet300 yet300 deleted the feature/chat-ui-improvements branch August 23, 2025 08:26
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.

4 participants