TelegramMessenger / TelegramMessenger/Telegram-iOS

Telegram doesn't respect keyboard language per chat

Open
#260 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Checklist
  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues
Description

Telegram doesn’t respect the language I set on the keyboard (I use the stock one) between chats.

For example, on Signal or WhatsApp or iMessage when I talk with Bob and set the language to Spanish, then chat a bit with Alice in English and switch back to Bob, my keyboard would be set back to Spanish. Telegram doesn’t do that, I have to change the language again for each chat I get back to.

Expected Behavior
  1. I chat with X in Spanish - I set keyboard language to Spanish
  2. I chat with Y in English - I set keyboard language to English
  3. I switch back to X - it is remembered that the last language I used in this chat was Spanish and the keyboard automatically changes back to Spanish
Actual Behavior
  1. I chat with X in Spanish - I set keyboard language to Spanish
  2. I chat with Y in English - I set keyboard language to English
  3. I switch back to X - English is still set as the keyboard language, I have to manually switch back to Spanish
Steps to Reproduce
  1. Open a chat with X
  2. Switch keyboard language to A
  3. Switch to a chat with Y
  4. Switch keyboard language to B
  5. Switch back to the chat with X

The language set will still be B.

Environment

Device: iPhone 8

iOS version: 13.4

App version: 5.15.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior using the reported chat-switching steps on an iPhone 8 with iOS 13.4 and app version 5.15.2. Trace how keyboard language state is handled when switching between chats; done means each chat restores the last keyboard language used there, with regression coverage for the described sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.