TGViewer
Telegram X Localizations Telegram X Localizations @tgx_android_translate · 1.81K subscribers
Post #30 28K
0.21.0.988 RC

- "View Strings" for built-in language as well for translators (requires access to at least one -raw translation).
- Fixed: Invalid rule applied when selecting first item. Affects: *Suffix strings
- Added strings needed for language switch pop-up. See https://translations.telegram.org/en/android_x/new
- Added json_ChatDemo: array of Scene objects in JSON format.

Scene fields
on_date: array of integer. Optional. Format: [DAY,MONTH,YEAR,HOUR,MINUTE]. Use -1 if field value is not important. If current date or/and time matches specified value, scene will be displayed instead of default ones. Example: [7,9] or [7,9,-1] or [7,9,-1,-1,-1,-1]: Scene will be displayed on 7th September of any year.
guide: When set to 1, this scene will be displayed to translators.
member: string or User. Represents other party name.
members: array of User. Represents all members in a group chat
_: array of Message
min_version
: Integer. Optional. If app version is lower than specified value, scene will be ignored. Do not set unless required, reserved for future.
max_version: Integer. Optional. If app version is higher than specified value, scene will be ignored. Do not set unless required, reserved for future.
lang: Integer. Optional. When this field is set, all string are used as localization key suffixes. Do not use unless you know what you do. Example: lang=1, text=name then json_1_name's content will be used as text content. See https://t.me/tgx_android_translate/34.

User array format
[user_id (int), first_name (string), last_name (string, optional), avatar_remote_id (string, optional)]

Message fields
out: 1 means message is outgoing.
author: Integer. Represents user_id of an author.
text: String (text) or array in format [text, enable_markdown=1]. Optional. Represents text message or caption.
audio: Array, format: [duration (int), title (string), performer (string)]. Optional.
voice: Integer (duration) or Array, format: [duration (int)].
photo: String (query) or Array, format: [query (string), width (int, optional), height (int, optional)] format.
sticker: Array, format: [width (int), height (int), thumbnail_remote_id (string), sticker_remote_id (string), set_id (long, optional)]
left: Integer (user_id). Represents left or kicked member user identifier. Group scenes only.
ttl: Integer (seconds). Amount of seconds of the new self-destruct timer. 0 means self-destruct timer has been disabled.
created: String (group title). Represents group creation message.
after: Integer (seconds). Amount of seconds after the previous message (if any). Do not set if it's not important for the scene.
date: Integer (unix timestamp). Optional exact date for the message. Do not set if it's not important for the scene. Keep in mind that the date is not displayed for the very first message (which is below "Chat Preview")
Telegram Telegram X Localizations New default json_ChatDemo value, which is used, when it's empty (0) or contains invalid JSON.
More from @tgx_android_translate
  1. May 2, 2019Telegram X Localizations pinned «Starting Telegram X version 0.21.7.1151 cloud localizatio…
  2. May 1, 2019Starting Telegram X version 0.21.7.1151 cloud localizations are fully supported. You can n…
  3. Sep 25, 2018If you are unable to install localization file or share it as XML, ensure you have transla…
  4. Sep 24, 20180.21.0.992 RC - Separated passcode error messages by type: See PasscodeMismatch*, `Passcod…
  5. Sep 22, 20180.21.0.990 RC - Added NoDocumentsToShowInChat - Fixed: "Settings > Interface > Sticker Sug…
  6. Sep 22, 2018Updated: Added lang field description.
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →