Skip to content

Custom translations: Some strings cannot be overwritten. #30164

@YamatoRyou

Description

@YamatoRyou

Steps to reproduce

n/a

Outcome

What did you expect?

n/a

What happened instead?

This is a follow-up to #30051.
I spent more than a week completely redoing the simplified Chinese translation of EW (I have switched to the correct language code zh-hans), and found that some strings still cannot be overwritten.

List:

  • Timeline -> Date jump options (need to enable "jump to date" in the lab):
    Last week, no corresponding key
    Last month, no corresponding key
    Image

  • Room Info -> Polls:
    Active polls, right_panel.poll.active_heading
    Past polls, right_panel.poll.past_heading
    Image

  • Settings -> Notifications (need to enable "Notification Settings (Beta)" in the lab):
    People, no corresponding key
    Image

  • Settings -> About:
    Privacy Policy, no corresponding key
    Cookie Policy, no corresponding key
    Image

  • Date and week on the timeline (i.e. those displayed with message history, This is a bit special: these have no corresponding key, but they are forced to use the official simplified Chinese translation, which makes it impossible for custom translations to adjust their format by forced overwriting)
    Image

In the above list:

  • "No corresponding key" means that these strings cannot be overwritten by custom translations, even if the language code is correct.
  • Even if some strings have a corresponding key, custom translations will not work for them.

Operating system

x64 Windows 11 (10.0.26100)

Browser information

Vivaldi 7.4.3684.38 (x64, Chromium 136)

URL for webapp

Element Web 1.11.104

Application version

No response

Homeserver

Synapse 1.132.0

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ConfigA-DocumentationO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions