element-hq / element-hq/element-web

Use different source strings for adding rooms in Spaces in different locations

Open
#17,800 3 comments 0 reactions 0 assignees View on GitHub
A-Spaces I18n O-Uncommon S-Minor T-Enhancement X-Needs-Design
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

The entry for adding a new room in the explore rooms view is "Add existing room" although the button already says "Add". In Englisch this is not a big deal since its only 3 letters but ie. in German the translation for this ("hinzufügen") is 10 chars long which clutters the menu.

So I removed "hinzufügen" in Weblate because with the button as context it should be no problem. So far so good.

But now the problem was that the context menu on a space only showed "Existierender Raum" ("existing room") which makes no sense in this context.

So my suggestion would be to use different source strings for these widgets so that we are able to make the translations shorter and less cluttered.

___

![Zwischenablage01](https://user-images.githubusercontent.com/67947338/123540966-006eb200-d742-11eb-89e6-6d00f7580605.jpg)

![Zwischenablage02](https://user-images.githubusercontent.com/67947338/123541094-d5d12900-d742-11eb-8280-0f5052649073.jpg)

Contributor guide

Open the contributing guide

Research direction

Start by locating the source strings used by the Explore rooms view's “Add existing room” entry and the space context menu. Separate their translation keys so each location has appropriate wording, then verify both menus display the intended labels in English and German.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.