Anyone can give me the list of language_code that telegram

sends?

It's quite strange that when I set system language to Traditional Chinese, but the bot receives "zh-hans" instead of "zh-hant" (s means Simplified, t for Traditional).

I know that telegram uses IETF language tag which is mentioned in api doc, but it does not seem to use one format. (such like "en", "ja" and "zh-hans")

3 ответов

52 просмотра

does the telegram client see the difference between for example zh-hant and en-US?

Dash-God Автор вопроса
Lord unreal4u X
does the telegram client see the difference betwee...

I don't think it every sends "en-US", I've only seen "en" so far. and I think I've never seen "zh-hant" yet. but if telegram do not want to differentiate between variants/region, then they should send "zh" instead of "zh-hans"

Dash God
I don't think it every sends "en-US", I've only se...

afaik, this should work with whatever setting you have setup on your system, I am however more inclined to maybe asking at https://t.me/TelegramAndroidTalk as this isn't a bot problem (?)

Похожие вопросы

Карта сайта