Language- 2 bugs on iOS

Language- 2 bugs on iOS

Aki

This bug is on all iOS versions.

BUG #1

Plural "Others" doesn't work on beta language Serbian, Croatian, Bosnian and Serbo-croatian. (sr, hr, bs, sh)

iOS

iOS App use english word instead of using beta language when is plural "Others."

As you can see when is plural "Other" app use english word instead of beta language (here is Croatian)


STRING FOR MEMEBERS: https://translations.telegram.org/hr/search?lang_pack=ios&query=members


STRING FOR ONLINE: https://translations.telegram.org/hr/search?lang_pack=ios&query=ONLINE


BUG #2

Also there is another bug that is maybe not related to that above. App sometimes use some weird source for translating in plural "Other." I find that only on that few places on the pictures here down but maybe have more strings.




STRING FOR COMMENTS: https://translations.telegram.org/sr/ios/groups_and_channels/Conversation.MessageViewComments

STRING FOR CONVERSATION TITLE: https://translations.telegram.org/hr/ios/groups_and_channels/Conversation.TitleComments

STRING FOR PINEED MESSAGES:

https://translations.telegram.org/hr/ios/private_chats/Chat.TitlePinnedMessages


STRING FOR VIEW REPLIES:
https://translations.telegram.org/hr/ios/groups_and_channels/Conversation.ContextViewReplies


STRING FOR REPLIES:

https://translations.telegram.org/hr/ios/groups_and_channels/Conversation.TitleReplies


STRING FOR SHOW MORE:
https://translations.telegram.org/hr/ios/unsorted/PollResults.ShowMore


Android also have BUG #1 but now is fixed

On Android was the same first bug and we report that problem and they fix the problem. We find that problem was wrong region in Android code so we tell that to the developers. Maybe is something similar on iOS code.


Here is old and new android code.


They try to fix this problem in two ways. First time as you can see in link below, they move sr, hr, bs language to Czech region and that fix some problems, but also add new problems to the language. (also they forgot to move Serbo-croatian)

#1

https://github.com/DrKLO/Telegram/commit/aaa5dc0328e40aa46aac73edb3d1d54e061a2d59#diff-6bc554a2a0378285f22fafb4654fb8e39ca703ceebf231ee8b07a409ca29e9e8


In another try they create new region called SERBIAN. That fix the problem. They move Serbian, Croatian and Bosnian into that new region. (They also forgot to move Serbo-Croatian language. That language is not in use anymore but it is importan if someone want to create custom language)

#2

https://github.com/DrKLO/Telegram/commit/5a47056c7b1cb0b7d095ca6e7d1a288c01f8f160#diff-6bc554a2a0378285f22fafb4654fb8e39ca703ceebf231ee8b07a409ca29e9e8


Serbian, Croatian, Bosnian and Serbo-Croatian probably need to be another category but I am not a programer so I dont know. We tell that DrKLO and he fix the same problem on Android and maybe you can contact him for more info. @DrKLO


TG Desktop

You can use TG Desktop app to see how need to work. On TG Desktop everything works perfect.

For all pictures is used same beta languge pack.

https://t.me/setlanguage/hr-beta


Here is numbering for plurals. Other never works.

https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html#hr



Report Page